wallet-core/test/tests/amd-format.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

19 lines
215 B
JavaScript

/*
this is AMD
*/
// works with comments!!!
/*
At least I hope so
*/
"amd";
var m = {
amd: 'amd'
};
define(m);
// attempt to fool amd detection
if (typeof module != 'undefined')
module.exports = 'hello';