-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client-side Support #39
base: master
Are you sure you want to change the base?
Conversation
…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) {'
+1 |
1 similar comment
+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 🍺 |
This is great. +1 |
+1 |
5 similar comments
+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 similar comment
+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) {'