MCPcopy
hub / github.com/layui/layui / jQuery

Function jQuery

src/modules/jquery.js:146–150  ·  view source on GitHub ↗
(selector, context)

Source from the content-addressed store, hash-verified

144 rhtmlSuffix = /HTML$/i,
145 // Define a local copy of jQuery
146 jQuery = function (selector, context) {
147 // The jQuery object is actually just the init constructor 'enhanced'
148 // Need init if jQuery is called (just allow error to be thrown if not included)
149 return new jQuery.fn.init(selector, context);
150 };
151
152 jQuery.fn = jQuery.prototype = {
153 // The current version of jQuery being used

Callers 5

dirFunction · 0.85
jquery.jsFile · 0.85
accessFunction · 0.85
onFunction · 0.85
manipulationTargetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected