mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Button performance test: Added alert for time to initialize.
This commit is contained in:
parent
70481d9feb
commit
b368491f70
@ -16,7 +16,10 @@
|
||||
<script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
var start = +new Date();
|
||||
$("button").button();
|
||||
var end = +new Date();
|
||||
alert( "Time to initialize: " + (end - start) + "ms" );
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
Loading…
Reference in New Issue
Block a user