Skip to content

Commit

Permalink
Merge pull request cubiq#347 from davidtong/patch-1
Browse files Browse the repository at this point in the history
syntax issue reported by jshint
  • Loading branch information
Matteo Spinelli committed Mar 12, 2013
2 parents d31d6e6 + d3d2d2d commit d1e642c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iscroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ iScroll.prototype = {

that.lastScale = scale / this.scale;

newX = this.originX - this.originX * that.lastScale + this.x,
newX = this.originX - this.originX * that.lastScale + this.x;
newY = this.originY - this.originY * that.lastScale + this.y;

this.scroller.style[transform] = 'translate(' + newX + 'px,' + newY + 'px) scale(' + scale + ')' + translateZ;
Expand Down

0 comments on commit d1e642c

Please sign in to comment.