diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-04-26 20:04:34 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-04-26 20:04:34 +0200 |
commit | f319d07bb02188b75104f19ac456b1dde8429b1a (patch) | |
tree | 64020a4d5ce26dcdf353c54dc89f14a3b0343a01 /grunt.js | |
parent | 4fd2befe94421d330c02004dcad4cc03a38ba99e (diff) | |
download | jquery-ui-f319d07bb02188b75104f19ac456b1dde8429b1a.tar.gz jquery-ui-f319d07bb02188b75104f19ac456b1dde8429b1a.zip |
Grunt: Ignore ajax content test files in htmllint task
Diffstat (limited to 'grunt.js')
-rw-r--r-- | grunt.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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: { |