Skip to content

Commit

Permalink
html5 input type
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Crockford committed Feb 4, 2013
1 parent 60db705 commit a2705a1
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions jslint.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// jslint.js
// 2013-02-02
// 2013-02-03

// Copyright (c) 2002 Douglas Crockford (www.JSLint.com)

Expand Down Expand Up @@ -5824,15 +5824,27 @@ klass: do {
switch (attribute.type) {
case 'button':
case 'checkbox':
case 'color':
case 'date':
case 'datetime-local':
case 'month':
case 'number':
case 'radio':
case 'range':
case 'reset':
case 'submit':
case 'time':
case 'week':
break;
case 'email':
case 'file':
case 'hidden':
case 'image':
case 'password':
case 'search':
case 'tel':
case 'text':
case 'url':
if (option.adsafe && attribute.autocomplete !== 'off') {
warn('adsafe_autocomplete');
}
Expand Down Expand Up @@ -6466,7 +6478,7 @@ klass: do {

itself.jslint = itself;

itself.edition = '2013-02-02';
itself.edition = '2013-02-03';

return itself;
}());

0 comments on commit a2705a1

Please sign in to comment.