From 8425e9fe383c17f6a5589c778658c5fc0570ae8f Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Thu, 14 Nov 2013 14:37:53 -0800 Subject: 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--- src/loader.suffix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/loader.suffix') 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 -- cgit v1.2.3