aboutsummaryrefslogtreecommitdiffstats
path: root/src/Widgets.js
diff options
context:
space:
mode:
authorMisko Hevery2010-01-24 19:33:04 -0800
committerMisko Hevery2010-01-24 19:33:04 -0800
commit0f42fa2930f5827ac9f1eac2ce09ea3bf9533563 (patch)
tree2dc03ca6a158cefa71ab51476fa9e29b984826a9 /src/Widgets.js
parenta5c446441fee005975a82885771e8d931e7a4e7a (diff)
downloadangular.js-0f42fa2930f5827ac9f1eac2ce09ea3bf9533563.tar.bz2
fix closure compiler issues
Diffstat (limited to 'src/Widgets.js')
-rw-r--r--src/Widgets.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Widgets.js b/src/Widgets.js
index cf8c5d99..d85c0ddc 100644
--- a/src/Widgets.js
+++ b/src/Widgets.js
@@ -93,7 +93,7 @@ angularCallbacks['flashEvent'] = function(id, event, args) {
var jobject = jQuery(object);
var controller = jobject.data("controller");
FileController.prototype[event].apply(controller, args);
- jobject.scope().get('$updateView')();
+ _.defer(jobject.scope().get('$updateView'));
};
FileController.template = function(id) {
@@ -102,7 +102,7 @@ FileController.template = function(id) {
'<object id="' + id + '" />' +
'<a></a>' +
'<span/>' +
- '</span>');
+ '</span>');
};
extend(FileController.prototype, {
@@ -129,7 +129,6 @@ extend(FileController.prototype, {
this.value = value;
this.updateModel(scope);
this.value = null;
- scope.get('$binder').updateView();
},
'select': function(name, size, type) {
this.name = name;