]> source.dussan.org Git - jquery.git/commitdiff
Build: Use jscs to check test helpers
authorOleg Gaidarenko <markelog@gmail.com>
Tue, 18 Feb 2014 16:32:17 +0000 (20:32 +0400)
committerOleg Gaidarenko <markelog@gmail.com>
Tue, 15 Apr 2014 13:46:25 +0000 (17:46 +0400)
Also fix issues found by jscs

Conflicts:
test/data/testrunner.js

Gruntfile.js
test/data/testinit.js
test/data/testrunner.js

index 9407c92030e9b27aad8e8cd54888d3f46217e6ed..05eafcaa6900dd248416213280c577e17a629731 100644 (file)
@@ -100,6 +100,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: {
index 06f33d19b22ce7efabbc9a011f354f6baca8fac7..5901b57e48608654d30e7dc79183560f700fc1d4 100644 (file)
@@ -201,7 +201,6 @@ this.ajaxTest = function( title, expect, options ) {
        });
 };
 
-
 this.testIframe = function( fileName, name, fn ) {
        asyncTest(name, function() {
 
index 0f741fa9d638e6ddd677df108c736890131d8633..1bebb13638fec85ecfe3d50a0e9a346c161929be 100644 (file)
@@ -14,7 +14,6 @@ var qunitModule = QUnit.module,
        reset,
        ajaxSettings = jQuery.ajaxSettings;
 
-
 /**
  * QUnit configuration
  */