This is a ridiculous issue, but for some reason, in my Backbone app, external links are being treated as internal ones, simply appended to the url. He ...
This is a ridiculous issue, but for some reason, in my Backbone app, external links are being treated as internal ones, simply appended to the url. He ...
I have a hamlc (known as Haml + Inline CoffeeScript) which has a line like I wonder if this means: if @object1.element[0] has a value then store it ...
Our app was previously using haml 3.1.x and haml-coffee, and have now upgraded to 4.0.x. We have hamlc templates, and we were using haml-coffee-assets ...
here's what I'm trying to do: That 'Request Key: ' part should actually be a 6-digit value, e.g. Request Key: 614551 And the 'PCN: ' part is ...
Is there a way to use rails standard methods such as time_ago_in_words in backbone template also using hamlc ? When I tried this It throws an exce ...
When trying to initialize haml-coffee into my Guardfile, I get these messages in my terminal What do I do to get this plugin to work? Thanks! ...
Wondering how to comment out one line in HAMLC. I Tried But it doesn't work. It creates a <div> this is commented out </div> Can't fin ...
I am using CoffeeScript and HAML. I have objects list: And I have a template: Can I somehow parse "attributes" if it is exists and add to %a.men ...
Example template: Example rendering: Example output with haml: I tried to achieve this with haml-coffe with JST['example_template']({attribut ...
Give the following code in a .hamlc template: What if I wanted to add the class "special" to the div.myDiv based on a property of the model passed ...
Here is my hamlc code: This results in the following output: The line break results in a space between the link and the period. How can I avoi ...
I have a backbone.js CMS of sorts, that accepts html and then renders it in the browser. The following is the template file (in .hamlc) that renders t ...
I have an app that has page content that includes script tags, but when it tries to render it gives the error 'Uncaught SyntaxError: Unexpected token ...
I have worked a lot with rails, requirejs and backbone and know how to use haml coffee templates in rails. How do i do it in Node.js, I have a Node ...
I'm trying to extract the plain text from some HTML content in HAML. For example, if I have this HTML in a variable called message.content: I have ...
I need to be able extract a backbone model's name at runtime from a backbone View to write generic View and then Template code. That is: I need to get ...
I am trying to iterate over a backbone collection object and print one of it's attributes into a unlinked list on a haml-coffee template (.hamlc). In ...
I'm using haml_coffee_assets in a Rails 3.2 application. The following works in an ejs template: I can't seem to get this working in haml_coffee. T ...
I installed the HAML textmate bundle, that display syntax highlight for .haml templates, but I also have Coffee HAML templates that are named like ...
Currently I have backbone RIA with rails backend. I'm using haml_coffee_assets gem for client-side templating. But I miss rails view helpers there. I ...