Skip to content

Commit 41b2ae8

Browse files
committed
Merge pull request #3848 from angular-ui/feature/one-bind
Fixes one bind tests failing with Angular 1.2
2 parents aa97ecd + e6ce465 commit 41b2ae8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/js/core/directives/ui-grid-one-bind.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@
302302
//Removes the watcher on itself after the bind
303303
rmWatcher();
304304
}
305-
}); //End rm watchers
305+
// True ensures that equality is determined using angular.equals instead of ===
306+
}, true); //End rm watchers
306307
} //End compile function
307308
}; //End directive return
308309
} // End directive function

0 commit comments

Comments
 (0)