MCPcopy Index your code
hub / github.com/Blogify/Blogify / Plugin

Function Plugin

public/assets/assets/scripts/frontend.js:9348–9356  ·  view source on GitHub ↗
(option)

Source from the content-addressed store, hash-verified

9346 // =======================
9347
9348 function Plugin(option) {
9349 return this.each(function () {
9350 var $this = $(this)
9351 var data = $this.data('bs.alert')
9352
9353 if (!data) $this.data('bs.alert', (data = new Alert(this)))
9354 if (typeof option == 'string') data[option].call($this)
9355 })
9356 }
9357
9358 var old = $.fn.alert
9359

Callers

nothing calls this directly

Calls 2

$Function · 0.85
showMethod · 0.80

Tested by

no test coverage detected