Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Add a version to the Test class
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsLeenheer committed Aug 14, 2015
1 parent 0e6abbb commit b26c761
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions backend/templates/browser.html
Expand Up @@ -151,7 +151,7 @@ <h3 data-i18n>About these scores</h3>
<?php if ($one != ''): ?>
table.updateColumn(0, <?php echo $one; ?>);
<?php else: ?>
new Test(function(r) {
new Test7(function(r) {
table.updateColumn(0, {
id: 'mybrowser',
nickname: t('My browser'),
Expand All @@ -169,7 +169,7 @@ <h3 data-i18n>About these scores</h3>
<?php if ($two != ''): ?>
table.updateColumn(1, <?php echo $two; ?>);
<?php else: ?>
new Test(function(r) {
new Test7(function(r) {
table.updateColumn(1, {
id: 'mybrowser',
nickname: t('My browser'),
Expand All @@ -187,7 +187,7 @@ <h3 data-i18n>About these scores</h3>
<?php if ($three != ''): ?>
table.updateColumn(2, <?php echo $three; ?>);
<?php else: ?>
new Test(function(r) {
new Test7(function(r) {
table.updateColumn(2, {
id: 'mybrowser',
nickname: t('My browser'),
Expand All @@ -205,7 +205,7 @@ <h3 data-i18n>About these scores</h3>
<?php if ($four != ''): ?>
table.updateColumn(3, <?php echo $four; ?>);
<?php else: ?>
new Test(function(r) {
new Test7(function(r) {
table.updateColumn(3, {
id: 'mybrowser',
nickname: t('My browser'),
Expand All @@ -223,7 +223,7 @@ <h3 data-i18n>About these scores</h3>
<?php if ($five != ''): ?>
table.updateColumn(4, <?php echo $five; ?>);
<?php else: ?>
new Test(function(r) {
new Test7(function(r) {
table.updateColumn(4, {
id: 'mybrowser',
nickname: t('My browser'),
Expand Down
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -253,7 +253,7 @@ <h3>Help us improve HTML5 test by donating</h3>


function start() {
new Test(function(r) {
new Test7(function(r) {

/* Submit results */
try {
Expand Down
2 changes: 1 addition & 1 deletion qr.html
Expand Up @@ -78,7 +78,7 @@
});

function start() {
new Test(function(r) {
new Test7(function(r) {

document.getElementById('qr').innerHTML +=
"<p>You can see the results here:</p>" +
Expand Down
2 changes: 1 addition & 1 deletion scripts/7/engine.js
@@ -1,5 +1,5 @@

Test = (function() {
Test7 = (function() {

var NO = 0,
YES = 1,
Expand Down

0 comments on commit b26c761

Please sign in to comment.