Implemented $().inspector() API alias
This commit is contained in:
parent
61acdf9f46
commit
6ea20031ae
|
|
@ -173,4 +173,10 @@
|
|||
}
|
||||
|
||||
$.oc.inspector.manager = new InspectorManager()
|
||||
|
||||
$.fn.inspector = function () {
|
||||
return this.each(function () {
|
||||
$.oc.inspector.manager.createInspector(this)
|
||||
})
|
||||
}
|
||||
}(window.jQuery);
|
||||
|
|
@ -3781,7 +3781,8 @@ if(allowedEvent.isDefaultPrevented()){return false}
|
|||
return true}
|
||||
InspectorManager.prototype.onInspectableClicked=function(ev){var $element=$(ev.currentTarget)
|
||||
if(this.createInspector($element)===false){return false}}
|
||||
$.oc.inspector.manager=new InspectorManager()}(window.jQuery);+function($){"use strict";if($.oc.inspector===undefined)
|
||||
$.oc.inspector.manager=new InspectorManager()
|
||||
$.fn.inspector=function(){return this.each(function(){$.oc.inspector.manager.createInspector(this)})}}(window.jQuery);+function($){"use strict";if($.oc.inspector===undefined)
|
||||
$.oc.inspector={}
|
||||
if($.oc.inspector.wrappers===undefined)
|
||||
$.oc.inspector.wrappers={}
|
||||
|
|
|
|||
Loading…
Reference in New Issue