File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"extends": "vue",
3
3
"rules": {
4
- "no-duplicate-imports": 0
4
+ "no-duplicate-imports": 0,
5
+ "no-useless-escape": 0
5
6
}
6
7
}
Original file line number Diff line number Diff line change @@ -32,16 +32,20 @@ const animDurationProp = animationProp + 'Duration'
32
32
* transitions but not raf (e.g. Android 4.2 browser) - since
33
33
* these environments are usually slow, we are giving it a
34
34
* relatively large timeout.
35
- *
35
+ *
36
36
* Binding to window is necessary to make hot reload work in
37
37
* IE in strict mode
38
38
*/
39
39
40
- const raf = inBrowser && window . requestAnimationFrame . bind ( window )
41
- const waitForTransitionStart = raf
42
- /* istanbul ignore next */
43
- ? function ( fn ) { raf ( function ( ) { raf ( fn ) } ) }
44
- : function ( fn ) { setTimeout ( fn , 50 ) }
40
+ const raf = inBrowser && window . requestAnimationFrame
41
+ ? window . requestAnimationFrame . bind ( window )
42
+ : setTimeout
43
+
44
+ function waitForTransitionStart ( fn ) {
45
+ raf ( ( ) => {
46
+ raf ( fn )
47
+ } )
48
+ }
45
49
46
50
/**
47
51
* A Transition object that encapsulates the state and logic
You can’t perform that action at this time.
0 commit comments