Permalink
Browse files

Fixing some bad this references in $.matrix

  • Loading branch information...
1 parent 152e72b commit f538f834ce24ef78e2df83cc3180c6301c735355 @heygrady committed May 19, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 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);
}
});

0 comments on commit f538f83

Please sign in to comment.