View doesSupportInputType.js
// doesSupportInputType.js | |
// | |
// A function to check whether an HTML5 input type is supported based on the corresponding Modernizr code | |
// | |
// Original code https://github.com/Modernizr/Modernizr/blob/master/feature-detects/inputtypes.js | |
// | |
// Usage | |
// | |
// doesSupportInputType('date') | |
// ==> true | false |