cosmetic changes
This commit is contained in:
parent
7516cf8c00
commit
ba0336f3c9
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ Ox.time <f> Returns the time it takes to execute a given function
|
||||||
(fn) -> <n> Time in milliseconds
|
(fn) -> <n> Time in milliseconds
|
||||||
@*/
|
@*/
|
||||||
Ox.time = function(fn) {
|
Ox.time = function(fn) {
|
||||||
var time = new Date;
|
var time = new Date();
|
||||||
fn();
|
fn();
|
||||||
return new Date() - time;
|
return new Date() - time;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue