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