X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=c3b8f6d0fa71c0ba125a377aa2ed384d46011dc0;hb=2131e1a7ad6d9df239ec00b301303e10dbd34d49;hp=8c188c2d565e83f853450f5ade778a6e20fa9ca2;hpb=0b3165fd23ba4d240dd72f93d315bb5f7bf970e8;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 8c188c2..c3b8f6d 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -1,10 +1,13 @@ +(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); @@ -192,7 +231,7 @@ jQuery.fn.extend({ null; // See if we can take a shortcut and just use innerHTML - } else if ( typeof value === "string" && !/