From e93da8b04da86773247aadb1cbb1912e4f4526b2 Mon Sep 17 00:00:00 2001 From: Priyansh Date: Tue, 22 Dec 2020 17:49:59 +0530 Subject: Rewriting Project --- node_modules/jquery/src/manipulation/wrapMap.js | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 node_modules/jquery/src/manipulation/wrapMap.js (limited to 'node_modules/jquery/src/manipulation/wrapMap.js') diff --git a/node_modules/jquery/src/manipulation/wrapMap.js b/node_modules/jquery/src/manipulation/wrapMap.js new file mode 100644 index 0000000..da48bf9 --- /dev/null +++ b/node_modules/jquery/src/manipulation/wrapMap.js @@ -0,0 +1,30 @@ +define( [ + "./support" +], function( support ) { + +"use strict"; + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + +return wrapMap; +} ); -- cgit v1.2.3