aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--grunt.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/grunt.js b/grunt.js
index b22a5a7a7..f6400be4f 100644
--- a/grunt.js
+++ b/grunt.js
@@ -149,7 +149,10 @@ grunt.initConfig({
min: minify,
cssmin: minifyCSS,
htmllint: {
- all: ["demos/**/*.html", "tests/**/*.html"]
+ // ignore files that contain invalid html, used only for ajax content testing
+ all: grunt.file.expand( [ "demos/**/*.html", "tests/**/*.html" ] ).filter(function( file ) {
+ return !/(?:ajax\/content\d\.html|tabs\/data\/test\.html)/.test( file );
+ })
},
copy: {
dist: {