From f0d7c97b7b5135dcea879d8ae7f79ce7b1aa1b73 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 12 Jul 2012 15:48:52 -0400 Subject: [PATCH] Update test-ui.js to better integrate with QUnit 1.9.0. Former-commit-id: 7e6083ebb54fde0ebaa9f4f4551bb190e602a370 --- test/test-ui.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/test-ui.js b/test/test-ui.js index 74409a913..fee5647e8 100644 --- a/test/test-ui.js +++ b/test/test-ui.js @@ -45,10 +45,10 @@ } function init() { - var header = document.getElementById('qunit-header'); - if (header) { - header.appendChild(label1); - header.appendChild(label2); + var toolbar = document.getElementById('qunit-testrunner-toolbar'); + if (toolbar) { + toolbar.appendChild(label1); + toolbar.appendChild(label2); dropdown.selectedIndex = (function() { switch (build) { @@ -70,16 +70,16 @@ var label1 = document.createElement('label'); label1.innerHTML = - 'norequire'; + 'No RequireJS'; var label2 = document.createElement('label'); label2.innerHTML = 'build'; + '' + + '' + + '' + + '' + + ' Build'; var checkbox = label1.firstChild, dropdown = label2.firstChild;