Fix of the issue that the module which ends with ! cannot be loaded #8#9
Fix of the issue that the module which ends with ! cannot be loaded #8#9hashikuchi wants to merge 2 commits intoajaxorg:masterfrom
Conversation
Add the new test cases of the module name including an exclamation mark.
Filter out the empty strings from the chunks so that the module whose name ends with '!' is properly recognized.
|
The fix of the issue #8 |
|
It is not advisable to use the exclamation point in file names meant to be loaded through an AMD loader. For better or for worse, the exclamation point indicates that the name before the exclamation point is a loader to be applied to the path appearing after the point. So You may think that a dependency with an empty path is meaningless, but that's not the case. The Since dependencies that specify a loader without a path are meaningful, it is not safe to assume that |
No description provided.