X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..HEAD:/docs/source/DelayedTask.html diff --git a/docs/source/DelayedTask.html b/docs/source/DelayedTask.html index d3b3a2a7..33ffff0a 100644 --- a/docs/source/DelayedTask.html +++ b/docs/source/DelayedTask.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.util.DelayedTask
  * 
  * The DelayedTask class provides a convenient way to "buffer" the execution of a method,
@@ -29,8 +46,8 @@
  * also setup a delayed task for you to buffer events.
  * 
  * @constructor The parameters to this constructor serve as defaults and are not required.
- * @param {Function} fn (optional) The default function to call.
- * @param {Object} scope The default scope (The <code><b>this</b></code> reference) in which the
+ * @param {Function} fn (optional) The default function to call. If not specified here, it must be specified during the {@link #delay} call.
+ * @param {Object} scope (optional) The default scope (The <code><b>this</b></code> reference) in which the
  * function is called. If not specified, <code>this</code> will refer to the browser window.
  * @param {Array} args (optional) The default Array of arguments.
  */
@@ -43,7 +60,7 @@ Ext.util.DelayedTask = function(fn, scope, args) {
             fn.apply(scope, args || []);
         };
 
-    /**
+    /**
      * Cancels any pending timeout and queues a new one
      * @param {Number} delay The milliseconds to delay
      * @param {Function} newFn (optional) Overrides function passed to constructor
@@ -59,7 +76,7 @@ Ext.util.DelayedTask = function(fn, scope, args) {
         id = setInterval(call, delay);
     };
 
-    /**
+    /**
      * Cancel the last queued timeout
      */
     this.cancel = function(){
@@ -68,4 +85,6 @@ Ext.util.DelayedTask = function(fn, scope, args) {
             id = null;
         }
     };
-};
\ No newline at end of file +};
+ +