mvindahl/angular-pan-zoom

Too many things assigned to $scope

mvindahl opened this issue · 0 comments

In panzoom.js, we are assigning too many things to the scope and we are dotting all the way through these far too often. As a result the code becomes difficult to minify. Replace $scope variables with local (i.e. private) var declarations whenever it makes sense.