Explorar o código

Fix of incorrect UMD workaround. Use undefined.

Herbert Vojčík %!s(int64=7) %!d(string=hai) anos
pai
achega
221e3157ee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      external/amber-dev/lib/helpers.js

+ 1 - 1
external/amber-dev/lib/helpers.js

@@ -2,7 +2,7 @@ function nodeWrapper() {
     return {
         start: "(function(define, require){\n" +
         "define('__wrap__', function (requirejs) {\n" +
-        "var module = null; // Bad UMDs workaround\n" +
+        "var module = void 0; // Bad UMDs workaround\n" +
         "requirejs.resolve = require.resolve;\n" +
         "require = requirejs;\n",
         end: "});\n" +