Skip to content

Commit c18726d

Browse files
committed
Fix code style
1 parent 83204fa commit c18726d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/jquery.requestAnimationFrame.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
*/
99
// UMD factory https://github.com/umdjs/umd/blob/master/jqueryPlugin.js
1010
(function (factory) {
11-
if (typeof define === 'function' && define.amd) {
11+
if (typeof define === 'function' && define.amd) {
1212
// AMD. Register as an anonymous module.
1313
define(['jquery'], factory);
14-
} else {
14+
} else {
1515
// Browser globals
1616
factory(jQuery);
17-
}
17+
}
1818
}(function (jQuery) {
1919

2020
// requestAnimationFrame polyfill adapted from Erik Möller
@@ -32,7 +32,7 @@ var animating,
3232
for(; lastTime < vendors.length && !requestAnimationFrame; lastTime++) {
3333
requestAnimationFrame = window[ vendors[lastTime] + "RequestAnimationFrame" ];
3434
cancelAnimationFrame = cancelAnimationFrame ||
35-
window[ vendors[lastTime] + "CancelAnimationFrame" ] ||
35+
window[ vendors[lastTime] + "CancelAnimationFrame" ] ||
3636
window[ vendors[lastTime] + "CancelRequestAnimationFrame" ];
3737
}
3838

@@ -72,7 +72,7 @@ if ( requestAnimationFrame ) {
7272
window.cancelAnimationFrame = function(id) {
7373
clearTimeout(id);
7474
};
75-
75+
7676
}
7777

7878
}));

0 commit comments

Comments
 (0)