Lines Matching refs:id

158     function makeError(id, msg, err, requireModules) {  argument
159 var e = new Error(msg + '\nhttp://requirejs.org/docs/errors.html#' + id);
160 e.requireType = id;
369 function hasPathFallback(id) { argument
370 var pathConfig = getOwn(config.paths, id);
372 removeScript(id);
376 context.require.undef(id);
377 context.require([id]);
476 id: (prefix ?
483 var id = depMap.id,
484 mod = getOwn(registry, id);
487 mod = registry[id] = new context.Module(depMap);
494 var id = depMap.id,
495 mod = getOwn(registry, id);
497 if (hasProp(defined, id) &&
500 fn(defined[id]);
514 each(ids, function (id) { argument
515 var mod = getOwn(registry, id);
562 return (mod.exports = defined[mod.map.id] = {});
571 id: mod.map.id, property in module
574 return (config.config && getOwn(config.config, mod.map.id)) || {};
576 exports: defined[mod.map.id]
582 function cleanRegistry(id) { argument
584 delete registry[id];
585 delete enabledRegistry[id];
589 var id = mod.map.id;
594 traced[id] = true;
596 var depId = depMap.id,
612 processed[id] = true;
636 modId = map.id;
704 this.events = getOwn(undefEvents, map.id) || {};
706 this.shim = getOwn(config.shim, map.id);
810 context.load(this.map.id, url);
824 id = this.map.id,
846 exports = context.execCb(id, factory, depExports, exports);
851 exports = context.execCb(id, factory, depExports, exports);
872 err.requireModules = [this.map.id];
885 defined[id] = exports;
893 cleanRegistry(id);
914 id = map.id,
952 normalizedMod = getOwn(registry, normalizedMap.id);
978 err.requireModules = [id];
983 if (mod.map.id.indexOf(id + '_unnormalized') === 0) {
984 cleanRegistry(mod.map.id);
1018 if (hasProp(config.config, id)) {
1019 config.config[moduleName] = config.config[id];
1026 'fromText eval for ' + id +
1029 [id]));
1055 this.pluginMaps[pluginMap.id] = pluginMap;
1059 enabledRegistry[this.map.id] = this;
1070 var id, mod, handler;
1081 handler = getOwn(handlers, depMap.id);
1100 id = depMap.id;
1101 mod = registry[id];
1106 if (!hasProp(handlers, id) && mod && !mod.enabled) {
1114 var mod = getOwn(registry, pluginMap.id);
1186 id: node && node.getAttribute('data-requiremodule')
1260 eachProp(cfg.shim, function (value, id) { argument
1270 shim[id] = value;
1306 eachProp(registry, function (mod, id) { argument
1311 mod.map = makeModuleMap(id);
1338 var id, map, requireMod;
1354 return handlers[deps](registry[relMap.id]);
1365 id = map.id;
1367 if (!hasProp(defined, id)) {
1369 id +
1374 return defined[id];
1424 relMap && relMap.id, true), ext, true);
1427 defined: function (id) { argument
1428 return hasProp(defined, makeModuleMap(id, relMap, false, true).id);
1431 specified: function (id) { argument
1432 id = makeModuleMap(id, relMap, false, true).id;
1433 return hasProp(defined, id) || hasProp(registry, id);
1439 localRequire.undef = function (id) { argument
1444 var map = makeModuleMap(id, relMap, true),
1445 mod = getOwn(registry, id);
1447 delete defined[id];
1449 delete undefEvents[id];
1456 undefEvents[id] = mod.events;
1459 cleanRegistry(id);
1474 var mod = getOwn(registry, depMap.id);
1603 load: function (id, url) { argument
1604 req.load(context, id, url);
1636 context.completeLoad(data.id);
1645 if (!hasPathFallback(data.id)) {
1646 return onError(makeError('scripterror', 'Script error', evt, [data.id]));