mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 15:17:14 +08:00
FIX: Aliases for require functioning (#8387)
This commit is contained in:
parent
d7b710194d
commit
5ba63f8a98
|
@ -262,6 +262,7 @@ var define, requirejs;
|
|||
}
|
||||
|
||||
requirejs = require = function(name) {
|
||||
name = transformForAliases(this.name);
|
||||
if (EMBER_MODULES[name]) {
|
||||
return EMBER_MODULES[name];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user