OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 'use strict'; | 5 'use strict'; |
6 | 6 |
7 /** | 7 /** |
8 * Namespace for async utility functions. | 8 * Namespace for async utility functions. |
9 */ | 9 */ |
10 var AsyncUtil = {}; | 10 var AsyncUtil = {}; |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 /** | 253 /** |
254 * Cancels all scheduled runs (if any). | 254 * Cancels all scheduled runs (if any). |
255 * @private | 255 * @private |
256 */ | 256 */ |
257 AsyncUtil.Aggregation.prototype.cancelScheduledRuns_ = function() { | 257 AsyncUtil.Aggregation.prototype.cancelScheduledRuns_ = function() { |
258 if (this.scheduledRunsTimer_) { | 258 if (this.scheduledRunsTimer_) { |
259 clearTimeout(this.scheduledRunsTimer_); | 259 clearTimeout(this.scheduledRunsTimer_); |
260 this.scheduledRunsTimer_ = null; | 260 this.scheduledRunsTimer_ = null; |
261 } | 261 } |
262 }; | 262 }; |
OLD | NEW |