MCPcopy Create free account
hub / github.com/HangfireIO/Hangfire.Samples / Plugin

Function Plugin

Hangfire.WebFormsApplication/Scripts/bootstrap.js:143–151  ·  view source on GitHub ↗
(option)

Source from the content-addressed store, hash-verified

141 // =======================
142
143 function Plugin(option) {
144 return this.each(function () {
145 var $this = $(this)
146 var data = $this.data('bs.alert')
147
148 if (!data) $this.data('bs.alert', (data = new Alert(this)))
149 if (typeof option == 'string') data[option].call($this)
150 })
151 }
152
153 var old = $.fn.alert
154

Callers

nothing calls this directly

Calls 1

$Function · 0.70

Tested by

no test coverage detected