Skip to content

Commit

Permalink
Button performance test: Don't use alert().
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Jul 16, 2010
1 parent f448c79 commit 369474f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/visual/button/button_performance.html
Expand Up @@ -19,7 +19,7 @@
var start = +new Date();
$("button").button();
var end = +new Date();
alert( "Time to initialize: " + (end - start) + "ms" );
$("<p></p>").text( "Time to initialize: " + (end - start) + "ms" ).prependTo("body");
});
</script>
</head>
Expand Down

0 comments on commit 369474f

Please sign in to comment.