Open wintondeshong opened 13 years ago
+1
+1
Note: You must add json2.js as a dependency when using this on the client-side (https://github.com/douglascrockford/JSON-js) as IE7 and lower don't natively support JSON.stringify.
+1 :beer:
This is great. +1
+1
+1
+1
+1
+1
+1
Anything happening here?
+1
Looks like their have been a few updates to master since winton's changes.
In the meantime, I've pulled the upstream changes into this fork on winton's branch: https://github.com/rmw/haml-js/blob/master/lib/haml.js
In case anyone wants it ...
+1
+1
Here is my fork of haml-js to allow for client-side support (primarily internet explorer)
Outline of changes: Refactored Array.forEach, Array.indexOf, Array.map, and Array.filter with equivilent underscore.js functions Refactored String.trim to use internal trim function Refactored primary Haml signature to exclude 'Haml' from '...function Haml(haml, config) {'