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

Does not work for Windows #104

Closed texnikru closed 11 years ago

texnikru commented 11 years ago

LMD does not work because Windows using backslash.

Here is sample patch for lmd.js:

< if (!module.parent || (module.parent && module.parent.filename.match(/\/lmd\/bin\/lmd$/))) {

---
if (!module.parent || (module.parent && module.parent.filename.match(/\/lmd\/bin\/lmd$|\\lmd\\bin\\lmd$/))) {
azproduction commented 11 years ago

Thank you! Please update lmd@1.10.3-2