X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=73b0de31d6b1189da5bf07f3ed529707c2bef427;hb=c4f144eeffd94c745839b0ced2de9c62cfa9f075;hp=9406aa83949e2b490fed5fcd9c48731998f33da3;hpb=ec7fdf37235583a807b3f08e146edaadc81ca974;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 9406aa8..73b0de3 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -1,3 +1,34 @@ +var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, + rleadingWhitespace = /^\s+/, + rxhtmlTag = /(<(\w+)[^>]*?)\/>/g, + rselfClosing = /^(?:abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i, + rtagName = /<(\w+)/, + rtbody = /"; + }, + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
", "
" ], + thead: [ 1, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + col: [ 2, "", "
" ], + _default: [ 0, "", "" ] + }; + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// IE can't serialize and