Browse Source

jshint fix

Torkel Ödegaard 12 years ago
parent
commit
123f90d24d
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/app/directives/bootstrap-tagsinput.js

+ 0 - 3
src/app/directives/bootstrap-tagsinput.js

@@ -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() {
             if (!angular.isArray(scope.model)) {
               scope.model = [];