Skip to content

Commit

Permalink
Rename parameter of setImmediate/setInterval/setTimeout with a more m…
Browse files Browse the repository at this point in the history
…eaningful name.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=232806646
  • Loading branch information
jDramaix authored and tjgq committed Feb 8, 2019
1 parent 49c66c7 commit 58d19a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions externs/browser/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,32 +181,32 @@ function prompt(message, opt_value) {}

/**
* @param {function()} callback
* @param {...?} var_args
* @param {...?} callbackParams
* @return {number}
* @see https://developer.mozilla.org/en-US/docs/DOM/window.setImmediate
* @see http://msdn.microsoft.com/en-us/library/ie/hh773176(v=vs.85).aspx
*/
function setImmediate(callback, var_args) {}
function setImmediate(callback, callbackParams) {}

/**
* @param {Function|!TrustedScript|string} callback
* @param {number=} opt_delay
* @param {...?} var_args
* @param {...?} callbackParams
* @return {number}
* @see https://developer.mozilla.org/en/DOM/window.setInterval
* @see https://html.spec.whatwg.org/multipage/webappapis.html#timers
*/
function setInterval(callback, opt_delay, var_args) {}
function setInterval(callback, opt_delay, callbackParams) {}

/**
* @param {Function|!TrustedScript|string} callback
* @param {number=} opt_delay
* @param {...*} var_args
* @param {...*} callbackParams
* @return {number}
* @see https://developer.mozilla.org/en/DOM/window.setTimeout
* @see https://html.spec.whatwg.org/multipage/webappapis.html#timers
*/
function setTimeout(callback, opt_delay, var_args) {}
function setTimeout(callback, opt_delay, callbackParams) {}

/**
* Returns whether the object has a property with the specified name.
Expand Down
2 changes: 1 addition & 1 deletion src/com/google/javascript/jscomp/resources.json

Large diffs are not rendered by default.

0 comments on commit 58d19a1

Please sign in to comment.