From d42c8b528eb595101954f478e0024e3f079f6fbf Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 22 Mar 2017 19:19:26 +0100 Subject: first implementation of fun stats site --- .../assets/jquery/src/manipulation/wrapMap.js | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 templates/assets/jquery/src/manipulation/wrapMap.js (limited to 'templates/assets/jquery/src/manipulation/wrapMap.js') diff --git a/templates/assets/jquery/src/manipulation/wrapMap.js b/templates/assets/jquery/src/manipulation/wrapMap.js new file mode 100644 index 0000000..fdb430a --- /dev/null +++ b/templates/assets/jquery/src/manipulation/wrapMap.js @@ -0,0 +1,27 @@ +define( function() { + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // Support: IE9 + option: [ 1, "" ], + + // 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, "", "" ] +}; + +// Support: IE9 +wrapMap.optgroup = wrapMap.option; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +return wrapMap; +} ); -- cgit v1.3.1