浏览代码

Fixed CanvasComponents not being available to operation output code.

n1474335 8 年之前
父节点
当前提交
06d4002c6b
共有 5 个文件被更改,包括 5 次插入2 次删除
  1. 0 0
      build/prod/cyberchef.htm
  2. 0 0
      build/prod/index.html
  3. 0 0
      build/prod/scripts.js
  4. 3 0
      src/web/index.js
  5. 2 2
      src/web/static/stats.txt

文件差异内容过多而无法显示
+ 0 - 0
build/prod/cyberchef.htm


文件差异内容过多而无法显示
+ 0 - 0
build/prod/index.html


文件差异内容过多而无法显示
+ 0 - 0
build/prod/scripts.js


+ 3 - 0
src/web/index.js

@@ -59,4 +59,7 @@ window.console = console || {log: function() {}, error: function() {}};
 window.compileTime = moment.tz(COMPILE_TIME, "DD/MM/YYYY HH:mm:ss z", "UTC").valueOf();
 window.compileTime = moment.tz(COMPILE_TIME, "DD/MM/YYYY HH:mm:ss z", "UTC").valueOf();
 window.compileMessage = COMPILE_MSG;
 window.compileMessage = COMPILE_MSG;
 
 
+// Make libs available to operation outputs
+window.CanvasComponents = CanvasComponents;
+
 document.addEventListener("DOMContentLoaded", main, false);
 document.addEventListener("DOMContentLoaded", main, false);

+ 2 - 2
src/web/static/stats.txt

@@ -1,9 +1,9 @@
 129	source files
 129	source files
-49196	lines
+49199	lines
 1.9M	size
 1.9M	size
 
 
 63	JavaScript source files
 63	JavaScript source files
-21013	lines
+21016	lines
 788K	size
 788K	size
 
 
 4.7M	uncompressed JavaScript size
 4.7M	uncompressed JavaScript size

部分文件因为文件数量过多而无法显示