File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 8
8
*/
9
9
// UMD factory https://github.com/umdjs/umd/blob/master/jqueryPlugin.js
10
10
( function ( factory ) {
11
- if ( typeof define === 'function' && define . amd ) {
11
+ if ( typeof define === 'function' && define . amd ) {
12
12
// AMD. Register as an anonymous module.
13
13
define ( [ 'jquery' ] , factory ) ;
14
- } else {
14
+ } else {
15
15
// Browser globals
16
16
factory ( jQuery ) ;
17
- }
17
+ }
18
18
} ( function ( jQuery ) {
19
19
20
20
// requestAnimationFrame polyfill adapted from Erik Möller
@@ -32,7 +32,7 @@ var animating,
32
32
for ( ; lastTime < vendors . length && ! requestAnimationFrame ; lastTime ++ ) {
33
33
requestAnimationFrame = window [ vendors [ lastTime ] + "RequestAnimationFrame" ] ;
34
34
cancelAnimationFrame = cancelAnimationFrame ||
35
- window [ vendors [ lastTime ] + "CancelAnimationFrame" ] ||
35
+ window [ vendors [ lastTime ] + "CancelAnimationFrame" ] ||
36
36
window [ vendors [ lastTime ] + "CancelRequestAnimationFrame" ] ;
37
37
}
38
38
@@ -72,7 +72,7 @@ if ( requestAnimationFrame ) {
72
72
window . cancelAnimationFrame = function ( id ) {
73
73
clearTimeout ( id ) ;
74
74
} ;
75
-
75
+
76
76
}
77
77
78
78
} ) ) ;
You can’t perform that action at this time.
0 commit comments