Browse Source

Merge branch 'dev' of github.com:RubaXa/Sortable into dev

pull/168/head
RubaXa 10 years ago
parent
commit
5ae6d93998
  1. 24
      .jshintrc
  2. 23
      Gruntfile.js

24
.jshintrc

@ -0,0 +1,24 @@
{
"strict": true,
"newcap": false, // "Tolerate uncapitalized constructors"
"node": true,
"expr": true, // - true && call() "Expected an assignment or function call and instead saw an expression."
"supernew": true, // - "Missing '()' invoking a constructor."
"laxbreak": true,
"white": true,
"globals": {
"define": true,
"test": true,
"expect": true,
"module": true,
"asyncTest": true,
"start": true,
"ok": true,
"equal": true,
"notEqual": true,
"deepEqual": true,
"window": true,
"document": true,
"performance": true
}
}

23
Gruntfile.js

@ -12,28 +12,7 @@ module.exports = function (grunt) {
all: ['*.js', '!*.min.js'],
options: {
strict: true,
newcap: false, // "Tolerate uncapitalized constructors"
node: true,
expr: true, // - true && call() "Expected an assignment or function call and instead saw an expression."
supernew: true, // - "Missing '()' invoking a constructor."
laxbreak: true,
white: true,
globals: {
define: true,
test: true,
expect: true,
module: true,
asyncTest: true,
start: true,
ok: true,
equal: true,
notEqual: true,
deepEqual: true,
window: true,
document: true,
performance: true
}
jshintrc: true
}
},

Loading…
Cancel
Save