ソースを参照

empty umd file

Herbert Vojčík 8 年 前
コミット
37c2e66dbf
1 ファイル変更16 行追加0 行削除
  1. 16 0
      lib/usim.js

+ 16 - 0
lib/usim.js

@@ -0,0 +1,16 @@
+(function (root, factory) {
+    if (typeof define === 'function' && define.amd) {
+        // AMD. Register as an anonymous module.
+        define([], factory);
+    } else if (typeof module === 'object' && module.exports) {
+        // Node. Does not work with strict CommonJS, but
+        // only CommonJS-like environments that support module.exports,
+        // like Node.
+        module.exports = factory();
+    } else {
+        // Browser globals (root is window)
+        root.uSim = factory();
+    }
+}(this, function () {
+    return {};
+}));