File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 3939 supportsUnknownElements = a . childNodes . length == 1 || ( function ( ) {
4040 // assign a false positive if unable to shiv
4141 ( document . createElement ) ( 'a' ) ;
42- var frag = document . createDocumentFragment ( ) ;
43- return ! ( frag . cloneNode &&
44- frag . createDocumentFragment &&
45- frag . createElement ) ;
42+ a = document . createDocumentFragment ( ) ;
43+ return ! ( a . cloneNode && a . createDocumentFragment && a . createElement ) ;
4644 } ( ) ) ;
4745 } catch ( e ) {
4846 // assign a false positive if detection fails => unable to shiv
Original file line number Diff line number Diff line change 3939 supportsUnknownElements = a . childNodes . length == 1 || ( function ( ) {
4040 // assign a false positive if unable to shiv
4141 ( document . createElement ) ( 'a' ) ;
42- var frag = document . createDocumentFragment ( ) ;
43- return ! ( frag . cloneNode &&
44- frag . createDocumentFragment &&
45- frag . createElement ) ;
42+ a = document . createDocumentFragment ( ) ;
43+ return ! ( a . cloneNode && a . createDocumentFragment && a . createElement ) ;
4644 } ( ) ) ;
4745 } catch ( e ) {
4846 // assign a false positive if detection fails => unable to shiv
You can’t perform that action at this time.
0 commit comments