aboutsummaryrefslogtreecommitdiffstats
path: root/src/loader.suffix
diff options
context:
space:
mode:
authorVojta Jina2013-11-14 14:37:53 -0800
committerVojta Jina2013-11-14 15:05:39 -0800
commit8425e9fe383c17f6a5589c778658c5fc0570ae8f (patch)
treee71d091b84d4cc2b1925ab80284d9909657c079c /src/loader.suffix
parent94764ee08910726db1db7a1101c3001500306dea (diff)
downloadangular.js-8425e9fe383c17f6a5589c778658c5fc0570ae8f.tar.bz2
fix(loader): don't rely on internal APIs
This significantly increases the size of the loader: - minified: 1031bytes -> 1509bytes (+46%) - minified + gzip: 593bytes -> 810bytes (+36%) I'm not entirely sold on the idea of shipping minErr with the loade. With the current state, the angular-loader behavior is completely broken - this is just a quick fix, we can revisit this change in the future. Closes #4437 Closes #4874
Diffstat (limited to 'src/loader.suffix')
-rw-r--r--src/loader.suffix3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/loader.suffix b/src/loader.suffix
index b8a5d43d..d74135ea 100644
--- a/src/loader.suffix
+++ b/src/loader.suffix
@@ -1,4 +1,5 @@
-)(window);
+setupModuleLoader(window);
+})(window);
/**
* Closure compiler type information