azproduction / lmd

LMD - JavaScript Module-Assembler for building better web applications :warning: Project is no longer supported :warning:
http://azproduction.ru/lmd/
MIT License
449 stars 27 forks source link

Beautifuly code #56

Closed azproduction closed 11 years ago

azproduction commented 11 years ago

Use require('path') instead of hacky path functions JSON.parse(fs.readFileSync('.json')) -> require()

azproduction commented 11 years ago

https://github.com/azproduction/lmd/blob/master/lib/lmd_common.js#L9 https://github.com/azproduction/lmd/blob/master/lib/lmd_common.js#L90 https://github.com/azproduction/lmd/blob/master/lib/lmd_common.js#L189-L191 https://github.com/azproduction/lmd/blob/master/lib/lmd_common.js#L192 https://github.com/azproduction/lmd/blob/master/bin/lmd_builder.js#L33 https://github.com/azproduction/lmd/blob/master/bin/lmd_builder.js#L156 https://github.com/azproduction/lmd/blob/master/bin/lmd_builder.js#L903 https://github.com/azproduction/lmd/blob/master/bin/lmd_builder.js#L1288 https://github.com/azproduction/lmd/blob/master/bin/lmd_actions/build.js#L113-L116