Ver Fonte

remove deprecated comment

Herbert Vojčík há 9 anos atrás
pai
commit
104c0d4b7d
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      external/amber-dev/lib/amberc.js

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

@@ -565,7 +565,7 @@ function compose_js_files(configuration) {
 				var buffer = fs.readFileSync(file);
 				// matches and returns the "module_id" string in the AMD define: define("module_id", ...)
 				var match = buffer.toString().match(/(^|\n)define\("([^"]*)"/);
-				if (match /*&& match[1].slice(0,9) !== "amber_vm/"*/) {
+				if (match) {
 					builder.addId(match[2]);
 				}
 				builder.add(buffer);