|
1 | 1 | /** |
2 | | -* @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed |
| 2 | +* @preserve HTML5 Shiv 3.7.4-pre | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed |
3 | 3 | */ |
4 | 4 | ;(function(window, document) { |
5 | 5 | /*jshint evil:true */ |
6 | 6 | /** version */ |
7 | | - var version = '3.7.3'; |
| 7 | + var version = '3.7.4-pre'; |
8 | 8 |
|
9 | 9 | /** Preset options */ |
10 | 10 | var options = window.html5 || {}; |
|
42 | 42 | (document.createElement)('a'); |
43 | 43 | var frag = document.createDocumentFragment(); |
44 | 44 | return ( |
45 | | - typeof frag.cloneNode == 'undefined' || |
46 | | - typeof frag.createDocumentFragment == 'undefined' || |
47 | | - typeof frag.createElement == 'undefined' |
| 45 | + frag.cloneNode === void 0 || |
| 46 | + frag.createDocumentFragment === void 0 || |
| 47 | + frag.createElement === void 0 |
48 | 48 | ); |
49 | 49 | }()); |
50 | 50 | } catch(e) { |
|
332 | 332 | // assign a false negative if unable to shiv |
333 | 333 | var docEl = document.documentElement; |
334 | 334 | return !( |
335 | | - typeof document.namespaces == 'undefined' || |
336 | | - typeof document.parentWindow == 'undefined' || |
337 | | - typeof docEl.applyElement == 'undefined' || |
338 | | - typeof docEl.removeNode == 'undefined' || |
339 | | - typeof window.attachEvent == 'undefined' |
| 335 | + document.namespaces === void 0 || |
| 336 | + document.parentWindow === void 0 || |
| 337 | + docEl.applyElement === void 0 || |
| 338 | + docEl.removeNode === void 0 || |
| 339 | + window.attachEvent === void 0 |
340 | 340 | ); |
341 | 341 | }()); |
342 | 342 |
|
|
439 | 439 | if (!supportsShivableSheets || ownerDocument.printShived) { |
440 | 440 | return ownerDocument; |
441 | 441 | } |
442 | | - if (typeof namespaces[shivNamespace] == 'undefined') { |
| 442 | + if (namespaces[shivNamespace] === void 0) { |
443 | 443 | namespaces.add(shivNamespace); |
444 | 444 | } |
445 | 445 |
|
|
521 | 521 | module.exports = html5; |
522 | 522 | } |
523 | 523 |
|
524 | | -}(typeof window !== "undefined" ? window : this, document)); |
| 524 | +}(window === void 0 ? this : window, document)); |
0 commit comments