diff --git a/tests/assets/qunit.js b/tests/assets/qunit.js index 66dd72154..67dda99f1 100644 --- a/tests/assets/qunit.js +++ b/tests/assets/qunit.js @@ -311,7 +311,7 @@ var QUnit = { test.queue(); }, - // Specify the number of expected assertions to gurantee that failed test (no assertions are run at all) don't slip through. + // Specify the number of expected assertions to guarantee that failed test (no assertions are run at all) don't slip through. expect: function(asserts) { config.current.expected = asserts; }, @@ -494,7 +494,7 @@ var config = { moduleDone: [] }; -// Load paramaters +// Load parameters (function() { var location = window.location || { search: "", protocol: "file:" }, params = location.search.slice( 1 ).split( "&" ), @@ -1120,7 +1120,7 @@ QUnit.equiv = (function() { // for string, boolean, number and null function useStrictEquality(b, a) { if (b instanceof a.constructor || a instanceof b.constructor) { - // to catch short annotaion VS 'new' annotation of a + // to catch short annotation VS 'new' annotation of a // declaration // e.g. var i = 1; // var j = new Number(1); @@ -1149,7 +1149,7 @@ QUnit.equiv = (function() { return QUnit.objectType(b) === "regexp" && // the regex itself a.source === b.source && - // and its modifers + // and its modifiers a.global === b.global && // (gmi) ... a.ignoreCase === b.ignoreCase && @@ -1198,7 +1198,7 @@ QUnit.equiv = (function() { "object" : function(b, a) { var i, j, loop; - var eq = true; // unless we can proove it + var eq = true; // unless we can prove it var aProperties = [], bProperties = []; // collection of // strings @@ -1660,7 +1660,7 @@ QUnit.diff = (function() { }; }()); -// for CommonJS enviroments, export everything +// for CommonJS environments, export everything if ( typeof exports !== "undefined" || typeof require !== "undefined" ) { extend(exports, QUnit); }