{I" class:ETI"ProcessedAsset;FI"logical_path;TI"bootstrap/alert.js;FI" pathname;TI"/Users/kevin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bootstrap-sass-3.1.0.2/vendor/assets/javascripts/bootstrap/alert.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+§sSI" length;TiBI" digest;TI"%7b8abd3431806d9623a03ec195ca9742;FI" source;TI"B/* ======================================================================== * Bootstrap: alert.js v3.1.0 * http://getbootstrap.com/javascript/#alerts * ======================================================================== * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ +function ($) { 'use strict'; // ALERT CLASS DEFINITION // ====================== var dismiss = '[data-dismiss="alert"]' var Alert = function (el) { $(el).on('click', dismiss, this.close) } Alert.prototype.close = function (e) { var $this = $(this) var selector = $this.attr('data-target') if (!selector) { selector = $this.attr('href') selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 } var $parent = $(selector) if (e) e.preventDefault() if (!$parent.length) { $parent = $this.hasClass('alert') ? $this : $this.parent() } $parent.trigger(e = $.Event('close.bs.alert')) if (e.isDefaultPrevented()) return $parent.removeClass('in') function removeElement() { $parent.trigger('closed.bs.alert').remove() } $.support.transition && $parent.hasClass('fade') ? $parent .one($.support.transition.end, removeElement) .emulateTransitionEnd(150) : removeElement() } // ALERT PLUGIN DEFINITION // ======================= var old = $.fn.alert $.fn.alert = function (option) { return this.each(function () { var $this = $(this) var data = $this.data('bs.alert') if (!data) $this.data('bs.alert', (data = new Alert(this))) if (typeof option == 'string') data[option].call($this) }) } $.fn.alert.Constructor = Alert // ALERT NO CONFLICT // ================= $.fn.alert.noConflict = function () { $.fn.alert = old return this } // ALERT DATA-API // ============== $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close) }(jQuery); ;TI"dependency_digest;TI"%6e91e282c7e4177ad0102762db4317e2;FI"required_paths;T[I"/Users/kevin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bootstrap-sass-3.1.0.2/vendor/assets/javascripts/bootstrap/alert.js;FI"dependency_paths;T[{I" path;TI"/Users/kevin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bootstrap-sass-3.1.0.2/vendor/assets/javascripts/bootstrap/alert.js;FI" mtime;TI"2014-05-13T23:56:39-07:00;TI" digest;TI"%4f423b8f38253bb056a04ae6c8e63df4;FI" _version;TI"%2b66aa67c90052d553e0328c249bc9b0;F