{I" class:ETI"ProcessedAsset;FI"logical_path;TI"$foundation/foundation.alerts.js;FI" pathname;TI"m/home/irenepobre/.rvm/gems/ruby-2.0.0-p247/gems/zurb-foundation-4.3.2/js/foundation/foundation.alerts.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+ÍõPRI" length;TiqI" digest;TI"%b6a26a860a6ae12a5e82ca94656bcde1;FI" source;TI"q/*jslint unparam: true, browser: true, indent: 2 */ ;(function ($, window, document, undefined) { 'use strict'; Foundation.libs.alerts = { name : 'alerts', version : '4.3.2', settings : { animation: 'fadeOut', speed: 300, // fade out speed callback: function (){} }, init : function (scope, method, options) { this.scope = scope || this.scope; Foundation.inherit(this, 'data_options'); if (typeof method === 'object') { $.extend(true, this.settings, method); } if (typeof method !== 'string') { if (!this.settings.init) { this.events(); } return this.settings.init; } else { return this[method].call(this, options); } }, events : function () { var self = this; $(this.scope).on('click.fndtn.alerts', '[data-alert] a.close', function (e) { var alertBox = $(this).closest("[data-alert]"), settings = $.extend({}, self.settings, self.data_options(alertBox)); e.preventDefault(); alertBox[settings.animation](settings.speed, function () { $(this).remove(); settings.callback(); }); }); this.settings.init = true; }, off : function () { $(this.scope).off('.fndtn.alerts'); }, reflow : function () {} }; }(Foundation.zj, this, this.document)); ;TI"dependency_digest;TI"%60e893c6679818ce52479485aa731138;FI"required_paths;T[I"m/home/irenepobre/.rvm/gems/ruby-2.0.0-p247/gems/zurb-foundation-4.3.2/js/foundation/foundation.alerts.js;FI"dependency_paths;T[{I" path;TI"m/home/irenepobre/.rvm/gems/ruby-2.0.0-p247/gems/zurb-foundation-4.3.2/js/foundation/foundation.alerts.js;FI" mtime;TI"2013-10-06T13:31:57+08:00;TI" digest;TI"%6e474ff496f15072f74c8992bd3d37d7;FI" _version;TI"%2cf3622cbba861b85d33ffabfa420c13;F