Improve detection for ASP.NET validation jQuery plugins

This commit is contained in:
Oxan van Leeuwen
2012-08-10 01:09:54 +02:00
parent 2bbf92d5f8
commit 0f006af583
2 changed files with 7 additions and 1 deletions

View File

@@ -85,7 +85,8 @@
- -vsdoc\.js$
# jQuery validation plugin (MS bundles this with asp.net mvc)
- (^|/)jquery([^.]*)\.validate(\.min)?\.js$
- (^|/)jquery([^.]*)\.validate(\.unobtrusive)?(\.min)?\.js$
- (^|/)jquery([^.]*)\.unobtrusive\-ajax(\.min)?\.js$
# Microsoft Ajax
- (^|/)[Mm]icrosoft([Mm]vc)?([Aa]jax|[Vv]alidation)(\.debug)?\.js$