Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix mis-replaced characters in recent clean up plus more spacing #232

Merged
merged 1 commit into from

2 participants

Timo Tijhof Jörn Zaefferer
Timo Tijhof
Collaborator
  • It"s => It's

  • Some replace(/regex/,"") where forgotten in the cleanup

  • Follows-up:

Timo Tijhof Krinkle Fix mis-replaced characters in recent clean up plus more spacing
- It"s => It's

- Some replace(/regex/,"") where forgotten in the cleanup

- Follows-up:
 * e1d45ec685a1136ce5e95f48208e52ed763b8610
 * bf704c49a1404480f25081ce9ccbdd2a5ca5d8ad
 * 7684b4c7f1508436ffd77a77e449171378727488
4f51c3f
Jörn Zaefferer jzaefferer merged commit 4f51c3f into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 14, 2012
  1. Timo Tijhof

    Fix mis-replaced characters in recent clean up plus more spacing

    Krinkle authored
    - It"s => It's
    
    - Some replace(/regex/,"") where forgotten in the cleanup
    
    - Follows-up:
     * e1d45ec685a1136ce5e95f48208e52ed763b8610
     * bf704c49a1404480f25081ce9ccbdd2a5ca5d8ad
     * 7684b4c7f1508436ffd77a77e449171378727488
This page is out of date. Refresh to see the latest.
Showing with 7 additions and 7 deletions.
  1. +7 −7 qunit/qunit.js
14 qunit/qunit.js
View
@@ -206,7 +206,7 @@ Test.prototype = {
// `a` initialized at top of scope
a = document.createElement( "a" );
a.innerHTML = "Rerun";
- a.href = QUnit.url({ filter: getText([b]).replace(/\([^)]+\)$/, "" ).replace(/(^\s*|\s*$)/g, "" ) });
+ a.href = QUnit.url({ filter: getText([b]).replace( /\([^)]+\)$/, "" ).replace( /(^\s*|\s*$)/g, "" ) });
addEvent(b, "click", function() {
var next = b.nextSibling.nextSibling,
@@ -221,7 +221,7 @@ Test.prototype = {
}
if ( window.location && target.nodeName.toLowerCase() === "strong" ) {
window.location = QUnit.url({
- filter: getText([target]).replace(/\([^)]+\)$/, "" ).replace(/(^\s*|\s*$)/g, "" )
+ filter: getText([target]).replace( /\([^)]+\)$/, "" ).replace( /(^\s*|\s*$)/g, "" )
});
}
});
@@ -765,7 +765,7 @@ extend( QUnit, {
addEvent: addEvent
});
-// QUnit.constructor is set to the empty F() above so that we can add to it"s prototype later
+// QUnit.constructor is set to the empty F() above so that we can add to it's prototype later
// Doing this allows us to tell if the following methods have been overwritten on the actual
// QUnit object, which is a deprecated way of using the callbacks.
extend( QUnit.constructor.prototype, {
@@ -844,7 +844,7 @@ QUnit.load = function() {
ol.className = ol.className + " hidepass";
} else {
tmp = " " + ol.className.replace( /[\n\t\r]/g, " " ) + " ";
- ol.className = tmp.replace(/ hidepass /, " " );
+ ol.className = tmp.replace( / hidepass /, " " );
}
if ( defined.sessionStorage ) {
if (filter.checked) {
@@ -1361,7 +1361,7 @@ QUnit.equiv = (function() {
*/
QUnit.jsDump = (function() {
function quote( str ) {
- return '"' + str.toString().replace(/"/g, '\\"') + '"';
+ return '"' + str.toString().replace( /"/g, '\\"' ) + '"';
}
function literal( o ) {
return o + "";
@@ -1450,7 +1450,7 @@ QUnit.jsDump = (function() {
}
var chr = this.indentChar;
if ( this.HTML ) {
- chr = chr.replace(/\t/g," " ).replace(/ /g," " );
+ chr = chr.replace( /\t/g, " " ).replace( / /g, " " );
}
return new Array( this._depth_ + (extra||0) ).join(chr);
},
@@ -1527,7 +1527,7 @@ QUnit.jsDump = (function() {
}
return ret + close + open + "/" + tag + close;
},
- functionArgs: function( fn ) {//function calls it internally, it"s the arguments part of the function
+ functionArgs: function( fn ) {//function calls it internally, it's the arguments part of the function
var args,
l = fn.length;
Something went wrong with that request. Please try again.