mde / utilities

A classic collection of JavaScript utilities
Apache License 2.0
48 stars 23 forks source link

Fix code which do not work in strict mode #21

Closed phanect closed 10 years ago

phanect commented 10 years ago

There are some error when you execute Geddy on node.js with --strict-mode option because of octal numbers usage and missing variable declaration.

I'm posting this pull request to execute node.js with --harmony option which requires --strict-mode.

phanect commented 10 years ago

Also consider adding "use strict" into the top of all JavaScript files.

mde commented 10 years ago

Merged, thanks!