angular-pan-zoom icon indicating copy to clipboard operation
angular-pan-zoom copied to clipboard

Too many things assigned to $scope

Open mvindahl opened this issue 10 years ago • 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.

mvindahl avatar Mar 05 '14 22:03 mvindahl