mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 13:31:44 +08:00
FIX: ESLint
This commit is contained in:
parent
0f9e45f283
commit
edd49bc953
|
@ -1,4 +1,4 @@
|
|||
var define, requireModule, require, requirejs;
|
||||
var define, require, requirejs;
|
||||
|
||||
(function() {
|
||||
|
||||
|
@ -134,7 +134,7 @@ var define, requireModule, require, requirejs;
|
|||
throw new Error('Could not find module ' + name);
|
||||
}
|
||||
|
||||
requirejs = require = requireModule = function(name) {
|
||||
requirejs = require = function(name) {
|
||||
var mod = registry[name] || registry[MOVED_MODULES[name]];
|
||||
|
||||
|
||||
|
@ -180,6 +180,7 @@ var define, requireModule, require, requirejs;
|
|||
|
||||
return (seen[name] = obj);
|
||||
};
|
||||
window.requireModule = requirejs;
|
||||
|
||||
function resolve(child, name) {
|
||||
if (child.charAt(0) !== '.') { return child; }
|
||||
|
|
Loading…
Reference in New Issue
Block a user