File tree 4 files changed +3
-27
lines changed
4 files changed +3
-27
lines changed Original file line number Diff line number Diff line change 1
1
// @flow
2
2
3
- import './matches-polyfill'
4
- import './object-assign-polyfill'
5
3
import Vue from 'vue'
6
4
import VueWrapper from './vue-wrapper'
7
5
import 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) {
7
7
reporters : [ 'spec' ] ,
8
8
files : [
9
9
'../../node_modules/babel-polyfill/dist/polyfill.js' ,
10
+ './polyfills.js' ,
10
11
'load-tests.js'
11
12
] ,
12
13
preprocessors : {
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ if (typeof Element !== 'undefined' && !Element.prototype.matches) {
6
6
Element . prototype . oMatchesSelector ||
7
7
Element . prototype . webkitMatchesSelector ||
8
8
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
11
11
while ( -- i >= 0 && matches . item ( i ) !== this ) { }
12
12
return i > - 1
13
13
}
You can’t perform that action at this time.
0 commit comments