MCPcopy
hub / github.com/dcloudio/mui / wrap

Function wrap

examples/hello-mui/js/mui.js:43–48  ·  view source on GitHub ↗
(dom, selector)

Source from the content-addressed store, hash-verified

41 };
42
43 var wrap = function(dom, selector) {
44 dom = dom || [];
45 Object.setPrototypeOf(dom, $.fn);
46 dom.selector = selector || '';
47 return dom;
48 };
49
50 $.uuid = 0;
51

Callers 1

$Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected