{I" class:EFI"BundledAsset;FI"logical_path;FI"active_admin/lib/flash.js;TI" pathname;FI"š/Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/bundler/gems/activeadmin-7d968c2898cb/app/assets/javascripts/active_admin/lib/flash.js.coffee;TI"content_type;FI"application/javascript;FI" mtime;Fl+°àåTI" length;Fi8I" digest;F"%fe598fc83fb1d5162c96a8ca870f00ceI" source;FI"8(function() { var Flash; ActiveAdmin.flash = Flash = (function() { Flash.error = function(message, close_after) { return new this(message, "error", close_after); }; Flash.notice = function(message, close_after) { return new this(message, "notice", close_after); }; Flash.prototype.reference = function() { return this.reference; }; function Flash(message, type, close_after) { this.message = message; this.type = type != null ? type : "notice"; this.reference = jQuery("
").addClass("flash flash_" + type).text(message); jQuery(".flashes").append(this.reference); if (close_after != null) { this.close_after(close_after); } } Flash.prototype.close_after = function(close_after) { return setTimeout((function(_this) { return function() { return _this.close(); }; })(this), close_after * 1000); }; Flash.prototype.close = function() { return this.reference.remove(); }; return Flash; })(); }).call(this); ;TI"required_assets_digest;F"%b84395f563caa52b6b9955e36b57723eI" _version;F"%a805bf9eb4f9751b8ea0c520b2a29a36