Skip to content
Permalink
Browse files

Button performance test: Don't use alert().

  • Loading branch information...
scottgonzalez committed Jul 16, 2010
1 parent f448c79 commit 369474f3151f694a6523732b17887c67ef654550
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/visual/button/button_performance.html
@@ -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>

0 comments on commit 369474f

Please sign in to comment.
You can’t perform that action at this time.