Skip to content

Commit

Permalink
update qunit to 1.15 and fix legacy version support
Browse files Browse the repository at this point in the history
  • Loading branch information
mmanela committed Nov 8, 2014
1 parent 53b9964 commit 8bcf67b
Show file tree
Hide file tree
Showing 4 changed files with 2,505 additions and 2,297 deletions.
2 changes: 1 addition & 1 deletion Chutzpah/JSRunners/qunitRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
they are empty functions. The heuristic below is too look for 'config[key]'.
If we see that it is a newer version of qunit. Otherwise we need to do some more work.
*/
if (beginCallbackContent.indexOf('config[key]') < 0) {
if (beginCallbackContent.indexOf('callback') < 0) {
var oldCallback = {
begin: QUnit.begin,
done: QUnit.done,
Expand Down
16 changes: 8 additions & 8 deletions Chutzpah/TestFiles/QUnit/qunit.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*!
* QUnit 1.14.0
* QUnit 1.15.0
* http://qunitjs.com/
*
* Copyright 2013 jQuery Foundation and other contributors
* Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-01-31T16:40Z
* Date: 2014-08-08T16:00Z
*/

/** Font Family and Sizes */
Expand Down Expand Up @@ -62,14 +62,14 @@
}

#qunit-testrunner-toolbar {
padding: 0.5em 0 0.5em 2em;
padding: 0.5em 1em 0.5em 1em;
color: #5E740B;
background-color: #EEE;
overflow: hidden;
}

#qunit-userAgent {
padding: 0.5em 0 0.5em 2.5em;
padding: 0.5em 1em 0.5em 1em;
background-color: #2B81AF;
color: #FFF;
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
Expand All @@ -86,7 +86,7 @@
}

#qunit-tests li {
padding: 0.4em 0.5em 0.4em 2.5em;
padding: 0.4em 1em 0.4em 1em;
border-bottom: 1px solid #FFF;
list-style-position: inside;
}
Expand Down Expand Up @@ -215,7 +215,7 @@
/** Result */

#qunit-testresult {
padding: 0.5em 0.5em 0.5em 2.5em;
padding: 0.5em 1em 0.5em 1em;

color: #2B81AF;
background-color: #D2E0E6;
Expand All @@ -234,4 +234,4 @@
left: -10000px;
width: 1000px;
height: 1000px;
}
}

0 comments on commit 8bcf67b

Please sign in to comment.