Skip to content
Permalink
Browse files
Add backButton for autobench.html
---Show backButton when tests are done
---Since "licensecontents.js" is non-exist, remove the reference  to it
  • Loading branch information
lmnbeyond authored and mwoghiren committed Aug 27, 2013
1 parent 97b393b commit 376416a3cf8589387b8c1fc372b44c8fa0f84089
Showing 1 changed file with 3 additions and 2 deletions.
@@ -27,7 +27,6 @@
<link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no title" charset="utf-8">
<script type="text/javascript" charset="utf-8" src="../cordova-incl.js"></script>
<script type="text/javascript" charset="utf-8" src="uubench.js"></script>
<script type="text/javascript" charset="utf-8" src="licensecontents.js"></script>
<script>
var exec = cordova.require('cordova/exec');
var temp, pers, LICENSE_CONTENTS;
@@ -62,6 +61,7 @@
min: 2000, // each benchmark should run for at least 2000ms
done:function() {
$('loading').innerHTML = "Benchmarks complete.";
$('backBtn').style.display="block";
}
});
var results = {};
@@ -176,7 +176,7 @@
</script>

</head>
<body>
<body id="stage" class="theme">
<h1>Auto-Benchmarks</h1>
<h2 id="loading"></h2>
<table>
@@ -189,5 +189,6 @@ <h2 id="loading"></h2>
<tbody id="table-results">
</tbody>
</table>
<h2>&nbsp</h2><a href="javascript:" class="backBtn" style="display:none" id='backBtn' onclick="backHome();">Back</a><br>
</body>
</html>

0 comments on commit 376416a

Please sign in to comment.