Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing some bad this references in $.matrix

  • Loading branch information...
commit f538f834ce24ef78e2df83cc3180c6301c735355 1 parent 152e72b
@heygrady authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/jquery.transform.js
View
8 lib/jquery.transform.js
@@ -580,7 +580,7 @@
* @returm Matrix
*/
scaleX: function (sx) {
- return this.scale(sx);
+ return $.matrix.scale(sx);
},
/**
@@ -589,7 +589,7 @@
* @returm Matrix
*/
scaleY: function (sy) {
- return this.scale(1, sy);
+ return $.matrix.scale(1, sy);
},
/**
@@ -668,7 +668,7 @@
* @returm Matrix
*/
translateX: function (tx) {
- return this.translate(tx);
+ return $.matrix.translate(tx);
},
/**
@@ -677,7 +677,7 @@
* @returm Matrix
*/
translateY: function (ty) {
- return this.translate(0, ty);
+ return $.matrix.translate(0, ty);
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.