PageSourceSearch

https://assets2.weddingku.com/libs/bootstrap/alert.js

js weddingku.com collected 2026-09-24 09:49:48 UTC 1,048 bytes, 17 lines download raw bytes

1!function($){"use strict";var dismiss='[data-dismiss="alert"]',Alert=function(el){$(el).on('click',dismiss,this.close)}
2Alert.prototype.close=function(e){var $this=$(this),selector=$this.attr('data-target'),$parent
3if(!selector){selector=$this.attr('href')
4selector=selector&&selector.replace(/.*(?=#[^\s]*$)/,'')}
5$parent=$(selector)
6e&&e.preventDefault()
7$parent.length||($parent=$this.hasClass('alert')?$this:$this.parent())
8$parent.trigger(e=$.Event('close'))
9if(e.isDefaultPrevented())return
10$parent.removeClass('in')
11function removeElement(){$parent.trigger('closed').remove()}
12$.support.transition&&$parent.hasClass('fade')?$parent.on($.support.transition.end,removeElement):removeElement()}
13$.fn.alert=function(option){return this.each(function(){var $this=$(this),data=$this.data('alert')
14if(!data)$this.data('alert',(data=new Alert(this)))
15if(typeof option=='string')data[option].call($this)})}
16$.fn.alert.Constructor=Alert
17$(function(){$('body').on('click.alert.data-api',dismiss,Alert.prototype.close)})}(window.jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.