aboutsummaryrefslogtreecommitdiffstats
path: root/src/AngularPublic.js
diff options
context:
space:
mode:
authorMisko Hevery2011-02-04 16:42:21 -0800
committerMisko Hevery2011-02-16 00:48:22 -0500
commita004d487c4bb48b2bec19b60bc5ddc5244029be5 (patch)
tree48fe97cf0c79dc7126e7bfc5a40441738cb8dbab /src/AngularPublic.js
parent037f30a0c9f819aedf47f0da782e8d1fec0d6489 (diff)
downloadangular.js-a004d487c4bb48b2bec19b60bc5ddc5244029be5.tar.bz2
allow jquery to be declared after angular in the script loading order
Diffstat (limited to 'src/AngularPublic.js')
-rw-r--r--src/AngularPublic.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/AngularPublic.js b/src/AngularPublic.js
index 4654acb1..b62483f8 100644
--- a/src/AngularPublic.js
+++ b/src/AngularPublic.js
@@ -46,3 +46,8 @@ extend(angular, {
'isArray': isArray
});
+//try to bind to jquery now so that one can write angular.element().read()
+//but we will rebind on bootstrap again.
+bindJQuery();
+
+