wallet-core/test/tests/meta-deps.js
Florian Dold 9af485a584 Squashed 'thirdparty/systemjs/' content from commit 5ed69b6
git-subtree-dir: thirdparty/systemjs
git-subtree-split: 5ed69b6344e8fc1cd43bf758350b2236f57e1499
2016-10-10 03:50:11 +02:00

21 lines
270 B
JavaScript

(function(global) {
System.config({
meta: {
b: {
deps: ['a']
}
}
});
define('a', [], function() {
global.MODULEA = 'a';
});
define('b', [], function() {
return {
a: global.MODULEA
};
});
})(typeof window == 'undefined' ? global : window);