Skip to content

Commit

Permalink
jshint es3 apply setting
Browse files Browse the repository at this point in the history
  • Loading branch information
mania committed May 15, 2015
1 parent 8398d04 commit ee506cc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"immed": true,
"noarg": true,
"onevar": true,
"es3" : true,
"quotmark": "double",
"smarttabs": true,
"trailing": true,
Expand Down
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = function(grunt) {
build: {
src: ["src/polyfill/**/*.js", "src/module.js", "src/eg.js", "src/customEvent/*.js", "src/class.js", "src/component.js", "src/movableCoord.js", "src/flicking.js", "src/*.js" ],
dest: "dist/<%=pkg.outputname%>.js"
},
}
},
uglify: {
options: {
Expand All @@ -50,7 +50,7 @@ module.exports = function(grunt) {
src : [
"bower_components/jquery/jquery.js",
"bower_components/hammer.js/hammer.js",
"bower_components/jquery.easing/js/jquery.easing.js",
"bower_components/jquery.easing/js/jquery.easing.js"
],
dest : "dist/lib"
},
Expand Down
2 changes: 1 addition & 1 deletion src/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ eg.module("transform",[jQuery, window],function($, global){
rotate : parseFloat((Math.atan2(m1, m0) * RADIAN).toFixed(10)),
scaleX : parseFloat(sx.toFixed(10)),
scaleY : parseFloat(sy.toFixed(10)),
scaleZ : parseFloat(sz.toFixed(10)),
scaleZ : parseFloat(sz.toFixed(10))
};
} else {
sx = Math.sqrt( m0 * m0 + m1 * m1 );
Expand Down

0 comments on commit ee506cc

Please sign in to comment.