Permalink
Browse files

JS Lint suggestions

  • Loading branch information...
1 parent e942793 commit 03958d90a4eefac176f84a00a8738f160729760e @heygrady committed Aug 12, 2010
Showing with 7 additions and 7 deletions.
  1. +7 −7 lib/jquery.transform.js
View
14 lib/jquery.transform.js
@@ -210,8 +210,8 @@
* Applies all of the transformations
* @param Object funcs
* @param Object options
- * forceMatrix: uses the matrix in all browsers
- * preserve: tries to preserve the values from previous runs
+ * forceMatrix - uses the matrix in all browsers
+ * preserve - tries to preserve the values from previous runs
*/
transform: function(funcs, options) {
// determine if the CSS property is known
@@ -329,10 +329,10 @@
// only run the translate matrix if we need to
if (translate[0] || translate[1] || translateX || translateY) {
var tvector = matrix.x(new $.matrix.V2(
- parseFloat(translate[0]) + parseFloat(translateX),
- parseFloat(translate[1]) + parseFloat(translateY)
- ));
- tx = parseFloat(parseFloat(tvector.e(1)).toFixed(8)),
+ parseFloat(translate[0]) + parseFloat(translateX),
+ parseFloat(translate[1]) + parseFloat(translateY)
+ ));
+ tx = parseFloat(parseFloat(tvector.e(1)).toFixed(8));
ty = parseFloat(parseFloat(tvector.e(2)).toFixed(8));
}
@@ -409,7 +409,7 @@
/**
* Try to determine which browser we're in by the existence of a
- * custom transform property
+ * custom transform property
* @param void
* @return String
*/

0 comments on commit 03958d9

Please sign in to comment.