Class Index | File Index

Classes


Class jQuery

the extended jQuery library
Defined in: jquery.chrono.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
jQuery()
The extended jQuery library
Field Summary
Field Attributes Field Name and Description
<static>  
jQuery.after
Syntactic sugar for setTimeout.
<static>  
jQuery.every
Syntactic sugar for setTimeout.
Class Detail
jQuery()
The extended jQuery library
Field Detail
<static> jQuery.after
Syntactic sugar for setTimeout.
   setTimeout(function() { ... }, 300000); // becomes:
   $.after(5, "minutes", function() { ... });
   
   // other valid calls:
   $.after(100, function() { ... }); // 100 milliseconds
   $.after("9.7", function() { ... }); // 9.7 milliseconds
   $.after("50sec", function() { ... }); // 50 seconds
   $.after("33", "hours", function() { ... }); // 33 hours
   $.after("minute", function() { ... }); // 1 minute
   $.after("1 hour, 2 minutes, 15 seconds", function() { ... }); // 1:02:15 hours
   $.after("1min, 15 s", function() { ... }); // 1:15 minutes
Valid time units include: millisecond, second, minute, hour, & day
along with all their common abbreviations and pluralizations.
(See full list of valid time units: jQueryChrono-valid_units)

<static> jQuery.every
Syntactic sugar for setTimeout.
   setInterval(function() { ... }, 300000); // becomes:
   $.every(5, "minutes", function() { ... });
Supports the same syntax and arguments as jQuery.after

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Nov 22 2011 20:47:20 GMT-0500 (EST)