mwaylabs / Espresso

The-M-Projects build tools using node.js.
www.the-m-project.org
Other
84 stars 28 forks source link

Core.js from The M Project core framework is compiled out of order #53

Closed greylurk closed 12 years ago

greylurk commented 12 years ago

The file generated from Espresso both when using "espresso server" and "espresso build" on a fresh copy of the KitchenSink app from the M Framework sample code gets a core.js which is concatenated out of order. Because of this, the "core/foundation/models.js" is included before "core/foundation/m.js" which results in the namespace not being defined when trying to execute the application.

greylurk commented 12 years ago

See the core.js file generated at https://gist.github.com/1631800

dominiklaubach commented 12 years ago

Hi greylurk,

first of all, thank you very much for posting this issue! But actually this is a bug within The-M-Project, since we messed up with our internally used "m_require" stuff which tells Espresso how to concatenate the files on build/server.

Anyway, it should be fixed now. I'd appreciate it if you could test it again. Thank you very much in advance.

Best regards Dominik

greylurk commented 12 years ago

Confirmed fixed. Thank you for your quick attention to this.

dominiklaubach commented 12 years ago

Allright, thank you again for reporting this important thing!