diff options
| author | Misko Hevery | 2010-07-22 11:18:32 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-07-22 11:18:32 -0700 | 
| commit | 849a05b5a578f19ddc3d24dc9fbd304e0e07612a (patch) | |
| tree | 3e32e2ab7b8c1ed3f53e5b568990070b5edab4fa /src/AngularPublic.js | |
| parent | b5bbfaeb80c3f89c65d14c72cff6f0e1c8aa497a (diff) | |
| download | angular.js-849a05b5a578f19ddc3d24dc9fbd304e0e07612a.tar.bz2 | |
added jsonp to resources
Diffstat (limited to 'src/AngularPublic.js')
| -rw-r--r-- | src/AngularPublic.js | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/src/AngularPublic.js b/src/AngularPublic.js index e2e576fd..7b093f88 100644 --- a/src/AngularPublic.js +++ b/src/AngularPublic.js @@ -1,7 +1,10 @@  var browserSingleton;  angularService('$browser', function browserFactory(){    if (!browserSingleton) { -    browserSingleton = new Browser(window.location, window.document); +    browserSingleton = new Browser( +        window.location, +        jqLite(window.document), +        jqLite(window.document.getElementsByTagName('head')[0]));      browserSingleton.startUrlWatcher();      browserSingleton.bind();    } | 
