www.webOShelp.net

Get the latest on:webOS Developers' RSS FeedwebOS Facebook page webOS Twitter Feed

Home Resources API Reference Mojo.Timing.get(category)

Mojo.Timing.get(category)

Function to get a performance timer for a specified category.  Creates the timer if it doesn't exist. Returns Object.

Parameter Type Description
category String Category of the timer.

Example usage:

    var timerForCategory = Mojo.Timing.get('category1');
    timerForCategory.resume();
 

0 Comments

    Add Comment


      • >:o
      • :-[
      • :'(
      • :-(
      • :-D
      • :-*
      • :-)
      • :P
      • :\
      • 8-)
      • ;-)