From 8a2aeb653b209304560324c1cc05e82e3e4c620e Mon Sep 17 00:00:00 2001 From: Anurag Pathak Date: Wed, 3 May 2017 19:48:33 +0530 Subject: [PATCH] Corrected minor Method comments --- lib/utils/async.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/utils/async.html b/lib/utils/async.html index 6bcfbd4b61..c7e1f6bfa8 100644 --- a/lib/utils/async.html +++ b/lib/utils/async.html @@ -104,7 +104,7 @@ /** * Enqueues a function called at `requestAnimationFrame` timing. * - * @memberof Polymer.Async.timeOut + * @memberof Polymer.Async.animationFrame * @param {Function} fn Callback to run * @return {*} Handle used for canceling task */ @@ -130,7 +130,7 @@ /** * Enqueues a function called at `requestIdleCallback` timing. * - * @memberof Polymer.Async.timeOut + * @memberof Polymer.Async.idlePeriod * @param {Function} fn Callback to run * @return {*} Handle used for canceling task */ @@ -142,7 +142,7 @@ /** * Cancels a previously enqueued `idlePeriod` callback. * - * @memberof Polymer.Async.timeOut + * @memberof Polymer.Async.idlePeriod * @param {*} handle Handle returned from `run` of callback to cancel */ cancel(timer) { @@ -171,7 +171,7 @@ /** * Enqueues a function called at microtask timing. * - * @memberof Polymer.Async.timeOut + * @memberof Polymer.Async.microTask * @param {Function} fn Callback to run */ run(callback) { @@ -183,6 +183,7 @@ /** * Cancels a previously enqueued `microTask` callback. * + * @memberof Polymer.Async.microTask * @param {*} handle Handle returned from `run` of callback to cancel */ cancel(handle) {