Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comments #2698

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions tests/assets/qunit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
Expand Down Expand Up @@ -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( "&" ),
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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 &&
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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);
}
Expand Down