mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 09:44:56 -05:00
Build: put back "lint" command to the "dev" list
Also fix lint error in `data` module. It seems this command was removed from the list during merge
This commit is contained in:
@@ -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" ] );
|
||||
};
|
||||
|
||||
@@ -4,6 +4,7 @@ define( function() {
|
||||
* Determines whether an object can have data
|
||||
*/
|
||||
return function( owner ) {
|
||||
|
||||
// Accepts only:
|
||||
// - Node
|
||||
// - Node.ELEMENT_NODE
|
||||
|
||||
Reference in New Issue
Block a user