Skip to content

Commit 5adf04a

Browse files
committed
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
1 parent 2242719 commit 5adf04a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ module.exports = function( grunt ) {
182182
grunt.registerTask( "test", [ "test_fast", "promises_aplus_tests" ] );
183183

184184
// Short list as a high frequency watch task
185-
grunt.registerTask( "dev", [ "build:*:*", "uglify", "remove_map_comment", "dist:*" ] );
185+
grunt.registerTask( "dev", [ "build:*:*", "lint", "uglify", "remove_map_comment", "dist:*" ] );
186186

187187
grunt.registerTask( "default", [ "dev", "test_fast", "compare_size" ] );
188188
};

src/data/var/acceptData.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ define( function() {
44
* Determines whether an object can have data
55
*/
66
return function( owner ) {
7+
78
// Accepts only:
89
// - Node
910
// - Node.ELEMENT_NODE

0 commit comments

Comments
 (0)