creationix / haml-js

Haml ported to server-side Javascript. This is a traditional server-side templating language. Tested with node-js
MIT License
900 stars 109 forks source link

Removed a trailing comma #25

Closed dmathieu closed 13 years ago

dmathieu commented 14 years ago

There was an inappropriate comma at the end of an array. As it apparently might cause problems on IE, it makes it impossible to minify the file with closure.

emirotin commented 13 years ago

+1 for this

the line is 344 in haml.js

aaronblohowiak commented 13 years ago

The trailing comma is only in the compiler, not in the compiled functions. Do you have a need to minify the compiler?

aaronblohowiak commented 13 years ago

https://github.com/creationix/haml-js/commit/81e75adb0d60bac0eb6de10caa3f704287f23863