I'm currently using haml_coffee_assets on a project with backbone. All browsers seem to work quite well........ except IE8.
Error I receive: Expected ']' in regular expression
the line it refers to is the following:
HAML.findAndPreserve = function(text) {
var tags;
tags = 'textarea,pre'.split(',').join('|');
// **THE LINE BELOW**
return text = text.replace(RegExp("<(" + tags + ")>([^]*?)<\\/\\1>", "g"), function(str, tag, content) {
return "<" + tag + ">" + (window.HAML.preserve(content)) + "</" + tag + ">";
});
};
It is preventing the entire page from compiling on load. The data-bound divs are completely empty, but all other static elements are loading fine.