Commit 3dee2983 authored by Oleg Gaidarenko's avatar Oleg Gaidarenko

Build: Use jscs to check test helpers

Also fix issues found by jscs
parent 8e5d1caf
......@@ -101,6 +101,9 @@ module.exports = function( grunt ) {
jscs: {
src: "src/**/*.js",
gruntfile: "Gruntfile.js",
// Right know, check only test helpers
test: [ "test/data/testrunner.js", "test/data/testinit.js" ],
tasks: "build/tasks/*.js"
},
testswarm: {
......
......@@ -201,7 +201,6 @@ this.ajaxTest = function( title, expect, options ) {
});
};
this.testIframe = function( fileName, name, fn ) {
asyncTest(name, function() {
......
......@@ -124,7 +124,6 @@ window.moduleTeardown = function() {
oldActive = jQuery.active;
}
for ( i in jQuery.cache ) {
++cacheLength;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment