X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=c3b8f6d0fa71c0ba125a377aa2ed384d46011dc0;hb=1f8a5e4bbc49c244051101765c46bd8f35e2aa32;hp=742ec254336bbdb583bd1aee5a82755398f46710;hpb=23d600c66d8e1f7298dcb46eedba862279cd251d;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 742ec25..c3b8f6d 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -1,10 +1,14 @@ +(function( jQuery ) { + var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, rleadingWhitespace = /^\s+/, rxhtmlTag = /(<([\w:]+)[^>]*?)\/>/g, rselfClosing = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i, rtagName = /<([\w:]+)/, rtbody = / self-closes a tag + .replace(/\=([^="'>\s]+\/)>/g, '="$1">') .replace(rleadingWhitespace, "")], ownerDocument)[0]; } else { return this.cloneNode(true); @@ -185,15 +231,17 @@ jQuery.fn.extend({ null; // See if we can take a shortcut and just use innerHTML - } else if ( typeof value === "string" && !/