File tree Expand file tree Collapse file tree 4 files changed +3
-27
lines changed
Expand file tree Collapse file tree 4 files changed +3
-27
lines changed Original file line number Diff line number Diff line change 11// @flow
22
3- import './matches-polyfill'
4- import './object-assign-polyfill'
53import Vue from 'vue'
64import VueWrapper from './vue-wrapper'
75import createInstance from 'create-instance'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ module.exports = function (config) {
77 reporters : [ 'spec' ] ,
88 files : [
99 '../../node_modules/babel-polyfill/dist/polyfill.js' ,
10+ './polyfills.js' ,
1011 'load-tests.js'
1112 ] ,
1213 preprocessors : {
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ if (typeof Element !== 'undefined' && !Element.prototype.matches) {
66 Element . prototype . oMatchesSelector ||
77 Element . prototype . webkitMatchesSelector ||
88 function ( s ) {
9- const matches = ( this . document || this . ownerDocument ) . querySelectorAll ( s )
10- let i = matches . length
9+ var matches = ( this . document || this . ownerDocument ) . querySelectorAll ( s )
10+ var i = matches . length
1111 while ( -- i >= 0 && matches . item ( i ) !== this ) { }
1212 return i > - 1
1313 }
You can’t perform that action at this time.
0 commit comments