montagejs/montage — pull request #1073 by kriskowal (2012-12-09 04:49:53+00:00)
Title: Mop v0.12

These changes are needed for the next release of Mop which will be able to optimize Montage v0.12 and Mr v0.12.

This was necessitated mostly because Mr and Q are separate packages now. Also Mop is now able to use this version of Montage as a dependency to reduce redundant code for dependency analysis.

This also uses a global `montageDefine(hash, id, module)` instead of `define` for script injection, and packages that use script injection are now identified by a `useScriptInjection` property in their `package.json`. If we rename `window.require` to something else, this should make Montage play well with RequireJS.