PageRenderTime 21ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/application/static/libs/adminlte/bower_components/jquery/src/manipulation/wrapMap.js

https://bitbucket.org/tin_gimranoff/docstar
JavaScript | 29 lines | 15 code | 8 blank | 6 comment | 0 complexity | bd6bd7cfc997ee4dbe32d0f46719b9a6 MD5 | raw file
 1define( function() {
 2
 3"use strict";
 4
 5// We have to close these tags to support XHTML (#13200)
 6var wrapMap = {
 7
 8	// Support: IE <=9 only
 9	option: [ 1, "<select multiple='multiple'>", "</select>" ],
10
11	// XHTML parsers do not magically insert elements in the
12	// same way that tag soup parsers do. So we cannot shorten
13	// this by omitting <tbody> or other required elements.
14	thead: [ 1, "<table>", "</table>" ],
15	col: [ 2, "<table><colgroup>", "</colgroup></table>" ],
16	tr: [ 2, "<table><tbody>", "</tbody></table>" ],
17	td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],
18
19	_default: [ 0, "", "" ]
20};
21
22// Support: IE <=9 only
23wrapMap.optgroup = wrapMap.option;
24
25wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
26wrapMap.th = wrapMap.td;
27
28return wrapMap;
29} );