Commit 123f90d2 by Torkel Ödegaard

jshint fix

parent ff01764f
...@@ -66,9 +66,6 @@ function (angular, $) { ...@@ -66,9 +66,6 @@ function (angular, $) {
} }
}); });
// create a shallow copy of model's current state, needed to determine
// diff when model changes
var prev = scope.model.slice();
scope.$watch("model", function() { scope.$watch("model", function() {
if (!angular.isArray(scope.model)) { if (!angular.isArray(scope.model)) {
scope.model = []; scope.model = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment