A very simple test case at http://shovemedia.com/requirejsissue.zip
See /js/Main.js for two lines you can swap back and forth.
The only difference is the whitespace.
If you bring up index.html in Chrome with the javascript console, you'll
see an alert when the extra space is removed (correct behavior),
and the following error when it's present:
Uncaught Error: Module name 'SomeModule' has not been loaded yet for context:
Tested with the latest version before sending, both commented and minified.
A very simple test case at http://shovemedia.com/requirejsissue.zip
See /js/Main.js for two lines you can swap back and forth.
The only difference is the whitespace.
If you bring up index.html in Chrome with the javascript console, you'll
see an alert when the extra space is removed (correct behavior),
and the following error when it's present:
Uncaught Error: Module name 'SomeModule' has not been loaded yet for context:
Tested with the latest version before sending, both commented and minified.