]> source.dussan.org Git - jquery.git/commitdiff
Build: put back "lint" command to the "dev" list
authorOleg Gaidarenko <markelog@gmail.com>
Mon, 7 Sep 2015 23:33:43 +0000 (02:33 +0300)
committerOleg Gaidarenko <markelog@gmail.com>
Mon, 7 Sep 2015 23:33:43 +0000 (02:33 +0300)
Also fix lint error in `data` module.

It seems this command was removed from the list during merge

Gruntfile.js
src/data/var/acceptData.js

index 59583c5a648b283e38e145fa38711de9c9baba96..50a662cbaf986a350c1159f87966086587fb7c8c 100644 (file)
@@ -182,7 +182,7 @@ module.exports = function( grunt ) {
        grunt.registerTask( "test", [ "test_fast", "promises_aplus_tests" ] );
 
        // Short list as a high frequency watch task
-       grunt.registerTask( "dev", [ "build:*:*", "uglify", "remove_map_comment", "dist:*" ] );
+       grunt.registerTask( "dev", [ "build:*:*", "lint", "uglify", "remove_map_comment", "dist:*" ] );
 
        grunt.registerTask( "default", [ "dev", "test_fast", "compare_size" ] );
 };
index 6a1e5021b6d00d4a8c8e886229de38a29b730c43..6e15af1278e071d1fbbae6f4bd2b3b7ec62a348f 100644 (file)
@@ -4,6 +4,7 @@ define( function() {
  * Determines whether an object can have data
  */
 return function( owner ) {
+
        // Accepts only:
        //  - Node
        //    - Node.ELEMENT_NODE