2787 |
rexy |
1 |
/**
|
|
|
2 |
* @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
|
|
3 |
*/
|
|
|
4 |
;(function(window, document) {
|
|
|
5 |
/*jshint evil:true */
|
|
|
6 |
/** version */
|
|
|
7 |
var version = '3.7.3';
|
|
|
8 |
|
|
|
9 |
/** Preset options */
|
|
|
10 |
var options = window.html5 || {};
|
|
|
11 |
|
|
|
12 |
/** Used to skip problem elements */
|
|
|
13 |
var reSkip = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
14 |
|
|
|
15 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /** Not all elements can be cloned in IE **/|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
16 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var saveClones = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
17 |
|
|
|
18 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /** Detect whether the browser supports default html5 styles */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
19 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var supportsHtml5Styles;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
20 |
|
|
|
21 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /** Name of the expando, to work with multiple documents or to re-shiv one document */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
22 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var expando = '_html5shiv';|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
23 |
|
|
|
24 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /** The id for the the documents expando */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
25 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var expanID = 0;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
26 |
|
|
|
27 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /** Cached data for each document */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
28 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var expandoData = {};|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
29 |
|
|
|
30 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /** Detect whether the browser supports unknown elements */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
31 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var supportsUnknownElements;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
32 |
|
|
|
33 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ (function() {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
34 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ try {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
35 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var a = document.createElement('a');|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
36 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ a.innerHTML = '<xyz></xyz>';|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
37 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ //if the hidden property is implemented we can assume, that the browser supports basic HTML5 Styles|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
38 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ supportsHtml5Styles = ('hidden' in a);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
39 |
|
|
|
40 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ supportsUnknownElements = a.childNodes.length == 1 || (function() {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
41 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // assign a false positive if unable to shiv|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
42 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ (document.createElement)('a');|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
43 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var frag = document.createDocumentFragment();|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
44 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return (|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
45 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ typeof frag.cloneNode == 'undefined' |||^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
46 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ typeof frag.createDocumentFragment == 'undefined' |||^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
47 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ typeof frag.createElement == 'undefined'|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
48 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ );|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
49 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }());|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
50 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ } catch(e) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
51 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // assign a false positive if detection fails => unable to shiv|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
52 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ supportsHtml5Styles = true;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
53 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ supportsUnknownElements = true;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
54 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
55 |
|
|
|
56 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }());|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
57 |
|
|
|
58 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /*--------------------------------------------------------------------------*/|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
59 |
|
|
|
60 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
61 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * Creates a style sheet with the given CSS text and adds it to the document.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
62 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @private|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
63 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {Document} ownerDocument The document.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
64 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {String} cssText The CSS text.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
65 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @returns {StyleSheet} The style element.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
66 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
67 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ function addStyleSheet(ownerDocument, cssText) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
68 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var p = ownerDocument.createElement('p'),|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
69 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
70 |
|
|
|
71 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ p.innerHTML = 'x<style>' + cssText + '</style>';|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
72 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return parent.insertBefore(p.lastChild, parent.firstChild);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
73 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
74 |
|
|
|
75 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
76 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * Returns the value of `html5.elements` as an array.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
77 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @private|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
78 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @returns {Array} An array of shived element node names.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
79 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
80 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ function getElements() {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
81 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var elements = html5.elements;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
82 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return typeof elements == 'string' ? elements.split(' ') : elements;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
83 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
84 |
|
|
|
85 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
86 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * Extends the built-in list of html5 elements|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
87 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @memberOf html5|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
88 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {String|Array} newElements whitespace separated list or array of new element names to shiv|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
89 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {Document} ownerDocument The context document.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
90 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
91 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ function addElements(newElements, ownerDocument) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
92 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var elements = html5.elements;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
93 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if(typeof elements != 'string'){|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
94 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ elements = elements.join(' ');|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
95 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
96 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if(typeof newElements != 'string'){|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
97 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ newElements = newElements.join(' ');|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
98 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
99 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ html5.elements = elements +' '+ newElements;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
100 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ shivDocument(ownerDocument);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
101 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
102 |
|
|
|
103 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
104 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * Returns the data associated to the given document|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
105 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @private|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
106 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {Document} ownerDocument The document.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
107 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @returns {Object} An object of data.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
108 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
109 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ function getExpandoData(ownerDocument) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
110 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var data = expandoData[ownerDocument[expando]];|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
111 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (!data) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
112 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ data = {};|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
113 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ expanID++;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
114 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ ownerDocument[expando] = expanID;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
115 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ expandoData[expanID] = data;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
116 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
117 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return data;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
118 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
119 |
|
|
|
120 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
121 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * returns a shived element for the given nodeName and document|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
122 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @memberOf html5|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
123 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {String} nodeName name of the element|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
124 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {Document} ownerDocument The context document.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
125 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @returns {Object} The shived element.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
126 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
127 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ function createElement(nodeName, ownerDocument, data){|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
128 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (!ownerDocument) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
129 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ ownerDocument = document;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
130 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
131 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if(supportsUnknownElements){|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
132 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return ownerDocument.createElement(nodeName);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
133 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
134 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (!data) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
135 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ data = getExpandoData(ownerDocument);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
136 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
137 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var node;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
138 |
|
|
|
139 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (data.cache[nodeName]) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
140 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ node = data.cache[nodeName].cloneNode();|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
141 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ } else if (saveClones.test(nodeName)) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
142 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ node = (data.cache[nodeName] = data.createElem(nodeName)).cloneNode();|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
143 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ } else {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
144 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ node = data.createElem(nodeName);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
145 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
146 |
|
|
|
147 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // Avoid adding some elements to fragments in IE < 9 because|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
148 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // * Attributes like `name` or `type` cannot be set/changed once an element|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
149 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // is inserted into a document/fragment|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
150 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // * Link elements with `src` attributes that are inaccessible, as with|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
151 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // a 403 response, will cause the tab/window to crash|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
152 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // * Script elements appended to fragments will execute when their `src`|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
153 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // or `text` property is set|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
154 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return node.canHaveChildren && !reSkip.test(nodeName) && !node.tagUrn ? data.frag.appendChild(node) : node;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
155 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
156 |
|
|
|
157 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
158 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * returns a shived DocumentFragment for the given document|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
159 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @memberOf html5|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
160 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {Document} ownerDocument The context document.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
161 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @returns {Object} The shived DocumentFragment.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
162 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
163 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ function createDocumentFragment(ownerDocument, data){|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
164 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (!ownerDocument) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
165 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ ownerDocument = document;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
166 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
167 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if(supportsUnknownElements){|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
168 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return ownerDocument.createDocumentFragment();|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
169 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
170 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ data = data || getExpandoData(ownerDocument);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
171 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var clone = data.frag.cloneNode(),|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
172 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ i = 0,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
173 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ elems = getElements(),|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
174 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ l = elems.length;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
175 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ for(;i<l;i++){|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
176 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ clone.createElement(elems[i]);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
177 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
178 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return clone;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
179 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
180 |
|
|
|
181 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
182 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * Shivs the `createElement` and `createDocumentFragment` methods of the document.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
183 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @private|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
184 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {Document|DocumentFragment} ownerDocument The document.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
185 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {Object} data of the document.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
186 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
187 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ function shivMethods(ownerDocument, data) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
188 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (!data.cache) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
189 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ data.cache = {};|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
190 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ data.createElem = ownerDocument.createElement;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
191 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ data.createFrag = ownerDocument.createDocumentFragment;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
192 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ data.frag = data.createFrag();|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
193 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
194 |
|
|
|
195 |
|
|
|
196 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ ownerDocument.createElement = function(nodeName) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
197 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ //abort shiv|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
198 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (!html5.shivMethods) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
199 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return data.createElem(nodeName);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
200 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
201 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return createElement(nodeName, ownerDocument, data);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
202 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ };|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
203 |
|
|
|
204 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ ownerDocument.createDocumentFragment = Function('h,f', 'return function(){' +|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
205 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ 'var n=f.cloneNode(),c=n.createElement;' +|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
206 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ 'h.shivMethods&&(' +|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
207 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // unroll the `createElement` calls|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
208 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ getElements().join().replace(/[\w\-:]+/g, function(nodeName) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
209 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ data.createElem(nodeName);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
210 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ data.frag.createElement(nodeName);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
211 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return 'c("' + nodeName + '")';|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
212 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }) +|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
213 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ ');return n}'|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
214 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ )(html5, data.frag);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
215 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
216 |
|
|
|
217 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /*--------------------------------------------------------------------------*/|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
218 |
|
|
|
219 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
220 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * Shivs the given document.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
221 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @memberOf html5|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
222 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {Document} ownerDocument The document to shiv.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
223 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @returns {Document} The shived document.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
224 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
225 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ function shivDocument(ownerDocument) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
226 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (!ownerDocument) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
227 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ ownerDocument = document;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
228 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
229 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var data = getExpandoData(ownerDocument);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
230 |
|
|
|
231 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (html5.shivCSS && !supportsHtml5Styles && !data.hasCSS) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
232 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ data.hasCSS = !!addStyleSheet(ownerDocument,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
233 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // corrects block display not defined in IE6/7/8/9|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
234 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ 'article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}' +|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
235 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // adds styling not present in IE6/7/8/9|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
236 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ 'mark{background:#FF0;color:#000}' +|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
237 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // hides non-rendered elements|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
238 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ 'template{display:none}'|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
239 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ );|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
240 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
241 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (!supportsUnknownElements) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
242 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ shivMethods(ownerDocument, data);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
243 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
244 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return ownerDocument;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
245 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
246 |
|
|
|
247 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /*--------------------------------------------------------------------------*/|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
248 |
|
|
|
249 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
250 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * The `html5` object is exposed so that more elements can be shived and|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
251 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * existing shiving can be detected on iframes.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
252 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @type Object|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
253 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @example|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
254 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ *|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
255 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * // options can be changed before the script is included|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
256 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * html5 = { 'elements': 'mark section', 'shivCSS': false, 'shivMethods': false };|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
257 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
258 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var html5 = {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
259 |
|
|
|
260 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
261 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * An array or space separated string of node names of the elements to shiv.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
262 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @memberOf html5|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
263 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @type Array|String|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
264 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
265 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ 'elements': options.elements || 'abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video',|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
266 |
|
|
|
267 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
268 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * current version of html5shiv|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
269 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
270 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ 'version': version,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
271 |
|
|
|
272 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
273 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * A flag to indicate that the HTML5 style sheet should be inserted.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
274 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @memberOf html5|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
275 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @type Boolean|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
276 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
277 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ 'shivCSS': (options.shivCSS !== false),|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
278 |
|
|
|
279 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
280 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * Is equal to true if a browser supports creating unknown/HTML5 elements|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
281 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @memberOf html5|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
282 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @type boolean|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
283 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
284 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ 'supportsUnknownElements': supportsUnknownElements,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
285 |
|
|
|
286 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
287 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * A flag to indicate that the document's `createElement` and `createDocumentFragment`|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
288 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * methods should be overwritten.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
289 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @memberOf html5|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
290 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @type Boolean|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
291 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
292 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ 'shivMethods': (options.shivMethods !== false),|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
293 |
|
|
|
294 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
295 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * A string to describe the type of `html5` object ("default" or "default print").|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
296 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @memberOf html5|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
297 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @type String|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
298 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
299 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ 'type': 'default',|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
300 |
|
|
|
301 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // shivs the document according to the specified `html5` object options|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
302 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ 'shivDocument': shivDocument,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
303 |
|
|
|
304 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ //creates a shived element|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
305 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ createElement: createElement,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
306 |
|
|
|
307 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ //creates a shived documentFragment|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
308 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ createDocumentFragment: createDocumentFragment,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
309 |
|
|
|
310 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ //extends list of elements|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
311 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ addElements: addElements|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
312 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ };|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
313 |
|
|
|
314 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /*--------------------------------------------------------------------------*/|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
315 |
|
|
|
316 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // expose html5|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
317 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ window.html5 = html5;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
318 |
|
|
|
319 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // shiv the document|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
320 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ shivDocument(document);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
321 |
|
|
|
322 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /*------------------------------- Print Shiv -------------------------------*/|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
323 |
|
|
|
324 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /** Used to filter media types */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
325 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var reMedia = /^$|\b(?:all|print)\b/;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
326 |
|
|
|
327 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /** Used to namespace printable elements */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
328 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var shivNamespace = 'html5shiv';|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
329 |
|
|
|
330 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /** Detect whether the browser supports shivable style sheets */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
331 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var supportsShivableSheets = !supportsUnknownElements && (function() {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
332 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // assign a false negative if unable to shiv|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
333 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var docEl = document.documentElement;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
334 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return !(|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
335 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ typeof document.namespaces == 'undefined' |||^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
336 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ typeof document.parentWindow == 'undefined' |||^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
337 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ typeof docEl.applyElement == 'undefined' |||^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
338 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ typeof docEl.removeNode == 'undefined' |||^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
339 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ typeof window.attachEvent == 'undefined'|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
340 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ );|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
341 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }());|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
342 |
|
|
|
343 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /*--------------------------------------------------------------------------*/|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
344 |
|
|
|
345 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
346 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * Wraps all HTML5 elements in the given document with printable elements.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
347 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * (eg. the "header" element is wrapped with the "html5shiv:header" element)|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
348 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @private|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
349 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {Document} ownerDocument The document.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
350 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @returns {Array} An array wrappers added.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
351 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
352 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ function addWrappers(ownerDocument) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
353 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var node,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
354 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ nodes = ownerDocument.getElementsByTagName('*'),|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
355 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ index = nodes.length,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
356 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ reElements = RegExp('^(?:' + getElements().join('|') + ')$', 'i'),|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
357 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ result = [];|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
358 |
|
|
|
359 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ while (index--) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
360 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ node = nodes[index];|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
361 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (reElements.test(node.nodeName)) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
362 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ result.push(node.applyElement(createWrapper(node)));|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
363 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
364 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
365 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return result;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
366 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
367 |
|
|
|
368 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
369 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * Creates a printable wrapper for the given element.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
370 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @private|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
371 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {Element} element The element.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
372 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @returns {Element} The wrapper.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
373 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
374 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ function createWrapper(element) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
375 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var node,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
376 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ nodes = element.attributes,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
377 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ index = nodes.length,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
378 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ wrapper = element.ownerDocument.createElement(shivNamespace + ':' + element.nodeName);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
379 |
|
|
|
380 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // copy element attributes to the wrapper|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
381 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ while (index--) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
382 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ node = nodes[index];|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
383 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ node.specified && wrapper.setAttribute(node.nodeName, node.nodeValue);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
384 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
385 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // copy element styles to the wrapper|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
386 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ wrapper.style.cssText = element.style.cssText;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
387 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return wrapper;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
388 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
389 |
|
|
|
390 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
391 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * Shivs the given CSS text.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
392 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * (eg. header{} becomes html5shiv\:header{})|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
393 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @private|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
394 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {String} cssText The CSS text to shiv.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
395 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @returns {String} The shived CSS text.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
396 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
397 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ function shivCssText(cssText) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
398 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var pair,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
399 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ parts = cssText.split('{'),|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
400 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ index = parts.length,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
401 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ reElements = RegExp('(^|[\\s,>+~])(' + getElements().join('|') + ')(?=[[\\s,>+~#.:]|$)', 'gi'),|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
402 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ replacement = '$1' + shivNamespace + '\\:$2';|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
403 |
|
|
|
404 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ while (index--) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
405 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ pair = parts[index] = parts[index].split('}');|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
406 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ pair[pair.length - 1] = pair[pair.length - 1].replace(reElements, replacement);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
407 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ parts[index] = pair.join('}');|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
408 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
409 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return parts.join('{');|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
410 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
411 |
|
|
|
412 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
413 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * Removes the given wrappers, leaving the original elements.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
414 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @private|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
415 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @params {Array} wrappers An array of printable wrappers.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
416 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
417 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ function removeWrappers(wrappers) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
418 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var index = wrappers.length;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
419 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ while (index--) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
420 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ wrappers[index].removeNode();|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
421 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
422 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
423 |
|
|
|
424 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /*--------------------------------------------------------------------------*/|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
425 |
|
|
|
426 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /**|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
427 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * Shivs the given document for print.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
428 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @memberOf html5|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
429 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @param {Document} ownerDocument The document to shiv.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
430 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ * @returns {Document} The shived document.|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
431 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ */|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
432 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ function shivPrint(ownerDocument) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
433 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var shivedSheet,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
434 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ wrappers,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
435 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ data = getExpandoData(ownerDocument),|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
436 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ namespaces = ownerDocument.namespaces,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
437 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ ownerWindow = ownerDocument.parentWindow;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
438 |
|
|
|
439 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (!supportsShivableSheets || ownerDocument.printShived) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
440 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return ownerDocument;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
441 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
442 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (typeof namespaces[shivNamespace] == 'undefined') {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
443 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ namespaces.add(shivNamespace);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
444 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
445 |
|
|
|
446 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ function removeSheet() {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
447 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ clearTimeout(data._removeSheetTimer);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
448 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (shivedSheet) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
449 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ shivedSheet.removeNode(true);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
450 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
451 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ shivedSheet= null;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
452 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
453 |
|
|
|
454 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ ownerWindow.attachEvent('onbeforeprint', function() {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
455 |
|
|
|
456 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ removeSheet();|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
457 |
|
|
|
458 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ var imports,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
459 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ length,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
460 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ sheet,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
461 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ collection = ownerDocument.styleSheets,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
462 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ cssText = [],|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
463 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ index = collection.length,|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
464 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ sheets = Array(index);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
465 |
|
|
|
466 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // convert styleSheets collection to an array|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
467 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ while (index--) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
468 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ sheets[index] = collection[index];|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
469 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
470 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // concat all style sheet CSS text|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
471 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ while ((sheet = sheets.pop())) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
472 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // IE does not enforce a same origin policy for external style sheets...|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
473 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // but has trouble with some dynamically created stylesheets|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
474 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if (!sheet.disabled && reMedia.test(sheet.media)) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
475 |
|
|
|
476 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ try {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
477 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ imports = sheet.imports;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
478 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ length = imports.length;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
479 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ } catch(er){|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
480 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ length = 0;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
481 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
482 |
|
|
|
483 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ for (index = 0; index < length; index++) {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
484 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ sheets.push(imports[index]);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
485 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
486 |
|
|
|
487 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ try {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
488 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ cssText.push(sheet.cssText);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
489 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ } catch(er){}|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
490 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
491 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
492 |
|
|
|
493 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // wrap all HTML5 elements with printable elements and add the shived style sheet|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
494 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ cssText = shivCssText(cssText.reverse().join(''));|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
495 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ wrappers = addWrappers(ownerDocument);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
496 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ shivedSheet = addStyleSheet(ownerDocument, cssText);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
497 |
|
|
|
498 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ });|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
499 |
|
|
|
500 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ ownerWindow.attachEvent('onafterprint', function() {|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
501 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // remove wrappers, leaving the original elements, and remove the shived style sheet|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
502 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ removeWrappers(wrappers);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
503 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ clearTimeout(data._removeSheetTimer);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
504 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ data._removeSheetTimer = setTimeout(removeSheet, 500);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
505 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ });|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
506 |
|
|
|
507 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ ownerDocument.printShived = true;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
508 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ return ownerDocument;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
509 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
510 |
|
|
|
511 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ /*--------------------------------------------------------------------------*/|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
512 |
|
|
|
513 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // expose API|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
514 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ html5.type += ' print';|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
515 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ html5.shivPrint = shivPrint;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
516 |
|
|
|
517 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ // shiv for print|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
518 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ shivPrint(document);|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
519 |
|
|
|
520 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ if(typeof module == 'object' && module.exports){|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
521 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ module.exports = html5;|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
522 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/ }|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|
|
|
523 |
|
|
|
524 |
<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/}(typeof window !== "undefined" ? window : this, document));|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/
|