@@ -21,7 +21,7 @@ if (typeof Function.prototype.bind !== "function") {
21
21
} ;
22
22
}
23
23
24
- function getStyles ( elem ) {
24
+ function getStyles ( elem ) {
25
25
var e = elem ;
26
26
if ( typeof ( e . length ) !== 'undefined' && e . length ) {
27
27
e = elem [ 0 ] ;
@@ -1175,7 +1175,7 @@ module.service('gridUtil', ['$log', '$window', '$document', '$http', '$templateC
1175
1175
if ( timeout ) {
1176
1176
$timeout . cancel ( timeout ) ;
1177
1177
}
1178
- timeout = $timeout ( later , wait ) ;
1178
+ timeout = $timeout ( later , wait , false ) ;
1179
1179
if ( callNow ) {
1180
1180
result = func . apply ( context , args ) ;
1181
1181
}
@@ -1225,7 +1225,7 @@ module.service('gridUtil', ['$log', '$window', '$document', '$http', '$templateC
1225
1225
function runFunc ( endDate ) {
1226
1226
lastCall = + new Date ( ) ;
1227
1227
func . apply ( context , args ) ;
1228
- $interval ( function ( ) { queued = null ; } , 0 , 1 ) ;
1228
+ $interval ( function ( ) { queued = null ; } , 0 , 1 , false ) ;
1229
1229
}
1230
1230
1231
1231
return function ( ) {
@@ -1238,7 +1238,7 @@ module.service('gridUtil', ['$log', '$window', '$document', '$http', '$templateC
1238
1238
runFunc ( ) ;
1239
1239
}
1240
1240
else if ( options . trailing ) {
1241
- queued = $interval ( runFunc , wait - sinceLast , 1 ) ;
1241
+ queued = $interval ( runFunc , wait - sinceLast , 1 , false ) ;
1242
1242
}
1243
1243
}
1244
1244
} ;
0 commit comments