aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
authorMisko Hevery2010-05-12 15:25:16 -0700
committerMisko Hevery2010-05-12 15:25:16 -0700
commitd5ba889f63d3ce8abe49c24695f5f5c964b40264 (patch)
tree2e4b5f6deb09c4ef9423b375281e054817ed1be8 /src/Angular.js
parent271b535c8285cb90781bf1e8ee56d6e68210a6a9 (diff)
downloadangular.js-d5ba889f63d3ce8abe49c24695f5f5c964b40264.tar.bz2
fixes issues where the field clobbers itself
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Angular.js b/src/Angular.js
index 2df6bbef..8675bc40 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -379,7 +379,8 @@ function toKeyValue(obj) {
function angularInit(config){
if (config.autobind) {
var scope = compile(window.document, null, {'$config':config});
- scope.$browser.addCss('../css/angular.css');
+ // TODO default to the source of angular.js
+ scope.$browser.addCss('css/angular.css');
scope.$init();
}
}