File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,12 @@ define([
29
29
// setTimeout executes its callback when delay has transpired, *or later*
30
30
// requestIdleCallback executes its callback when delay has transpired, *or sooner*
31
31
// Fixes https://github.com/SitePen/dgrid/issues/1351
32
- if ( has ( 'requestidlecallback' ) ) {
33
- delayCallback = function ( callback , delay ) {
34
- return requestIdleCallback ( callback , { timeout : delay } ) ;
35
- } ;
36
- cancelDelay = cancelIdleCallback ;
37
- }
32
+ // if (has('requestidlecallback')) {
33
+ // delayCallback = function (callback, delay) {
34
+ // return requestIdleCallback(callback, { timeout: delay });
35
+ // };
36
+ // cancelDelay = cancelIdleCallback;
37
+ // }
38
38
39
39
function removeRule ( index ) {
40
40
// Function called by the remove method on objects returned by addCssRule.
You can’t perform that action at this time.
0 commit comments