chainyjs / chainy

The chainy core + autoloader plugin
https://github.com/chainyjs/chainy/wiki
Other
79 stars 4 forks source link

Figure out `"use strict";` #9

Closed balupton closed 10 years ago

balupton commented 10 years ago

Considering the official way to use chainy on the client side is via browserify, we could probably remove out self executing function wrappers on all our code, and just make the first line "use strict"; without any wrappers. This is because node.js automatically wraps our modules, and browserify does too.

This change needs to be applied to all chainy code, tests and plugins.

balupton commented 10 years ago

Top of files. No wrapper.