Skip to content

Commit

Permalink
Replacing TypedArrays warning with nicer banner and link to V8v7
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Sep 17, 2012
1 parent e8ce0ae commit 61a665a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@

if (!hasTypedArrays) {
console.log("Typed Arrays not supported");
document.getElementById("warning-header").innerHTML = "Typed Arrays partly or not supported - some tests will be skipped";
document.getElementById("alertbox").style.display="block";
}
if (window.document.URL.indexOf('auto=1') >= 0)
Run();
Expand Down Expand Up @@ -156,13 +156,14 @@
</div>

<div class="container">
<div class="alert" style="display:none" id="alertbox">
<strong>Warning</strong> This JavaScript engine does not support Typed Arrays. You might want to run the <a href="http://v8.googlecode.com/svn/data/benchmarks/v7/run.html">V8 benchmark v7</a> instead.
</div>
<div id="main-container">
<a id="run-octane" href="javascript:Run()">
<div class="hero-unit" id="inside-anchor">
<h1 align="center" id="main-banner">Start Octane</h1>
<div id="bar-appendix"></div>
<!-- here space for warning messages -->
<div class="warning-header" id="warning-header" align="center"></div>
</div>
</a>
</div>
Expand Down

0 comments on commit 61a665a

Please sign in to comment.