Przeglądaj źródła

boot.js dependencies simplified

Herbert Vojčík 11 lat temu
rodzic
commit
b20bfec493
2 zmienionych plików z 6 dodań i 1 usunięć
  1. 1 1
      js/boot.js
  2. 5 0
      js/lib/browser-compatibility.js

+ 1 - 1
js/boot.js

@@ -34,7 +34,7 @@
    ==================================================================== */
 
 
-define([ './ensure-console', './es5-shim-2.0.2/es5-shim.min', './es5-shim-2.0.2/es5-sham.min' ], function () {
+define([ './browser-compatibility' ], function () {
 
 /* Array extensions */
 

+ 5 - 0
js/lib/browser-compatibility.js

@@ -0,0 +1,5 @@
+define([
+    './ensure-console',
+    './es5-shim-2.0.2/es5-shim.min',
+    './es5-shim-2.0.2/es5-sham.min'
+], {});