diff options
| author | Vojta Jina | 2013-11-14 14:37:53 -0800 | 
|---|---|---|
| committer | Vojta Jina | 2013-11-14 15:05:39 -0800 | 
| commit | 8425e9fe383c17f6a5589c778658c5fc0570ae8f (patch) | |
| tree | e71d091b84d4cc2b1925ab80284d9909657c079c /src/loader.suffix | |
| parent | 94764ee08910726db1db7a1101c3001500306dea (diff) | |
| download | angular.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.suffix | 3 | 
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 | 
