20 lines
740 B
Plaintext
20 lines
740 B
Plaintext
|
/**
|
||
|
* @license Angular v0.0.0-PLACEHOLDER
|
||
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
||
|
* License: MIT
|
||
|
*/
|
||
|
|
||
|
var $reflect = {defineMetadata: function() {}, getOwnMetadata: function(){}};
|
||
|
((typeof global !== 'undefined' && global)||{})['Reflect'] = $reflect;
|
||
|
var $deferred, $resolved, $provided;
|
||
|
function $getModule(name) { return $provided[name] || require(name); }
|
||
|
function define(modules, cb) { $deferred = { modules: modules, cb: cb }; }
|
||
|
module.exports = function(provided) {
|
||
|
if ($resolved) return $resolved;
|
||
|
var result = {};
|
||
|
$provided = Object.assign({'reflect-metadata': $reflect}, provided || {}, { exports: result });
|
||
|
$deferred.cb.apply(this, $deferred.modules.map($getModule));
|
||
|
$resolved = result;
|
||
|
return result;
|
||
|
}
|