{I" class:EFI"ProcessedAsset; FI"logical_path; F"outpost/notification.jsI" pathname; FI"_/Users/bricker/websites/kpcc/outpost/app/assets/javascripts/outpost/notification.js.coffee; TI"content_type; FI"application/javascript; FI" mtime; Fl+W¢RI"length; FiBI"digest; F"%9fd0ddcfae2bd16d9fa3a81726479e19I"source; FI"B(function() { outpost.Notification = (function() { function Notification(wrapper, type, message) { this.wrapper = wrapper; this.type = type; this.message = message; this.el = this._buildElement(); } Notification.prototype.render = function() { return this.append(); }; Notification.prototype.rerender = function() { var newEl; newEl = this._buildElement(); this.el.replaceWith(newEl); return this.el = newEl; }; Notification.prototype.append = function() { return this.wrapper.append(this.el); }; Notification.prototype.prepend = function() { return this.wrapper.prepend(this.el); }; Notification.prototype.replace = function() { return this.wrapper.html(this.el); }; Notification.prototype.html = function(html) { return this.el.html(html); }; Notification.prototype.isVisible = function() { return this.el.is(":visible"); }; Notification.prototype.show = function() { return this.el.show(); }; Notification.prototype.hide = function() { return this.el.hide(); }; Notification.prototype.fadeIn = function(speed, callback) { if (speed == null) { speed = 400; } if (callback == null) { callback = null; } return this.el.fadeIn(speed, typeof callback === "function" ? callback() : void 0); }; Notification.prototype.fadeOut = function(speed, callback) { if (speed == null) { speed = 400; } if (callback == null) { callback = null; } return this.el.fadeOut(speed, typeof callback === "function" ? callback() : void 0); }; Notification.prototype.detach = function() { return this.el.detach(); }; Notification.prototype.remove = function() { return this.el.remove(); }; Notification.prototype._buildElement = function() { return $("
", { "class": "alert alert-" + this.type }).html("" + this.message); }; return Notification; })(); }).call(this); ; TI"dependency_digest; F"%6b5afd6547cb6ca25f8e869ed87941f4I"required_paths; F[I"_/Users/bricker/websites/kpcc/outpost/app/assets/javascripts/outpost/notification.js.coffee; TI"dependency_paths; F[{I" path; FI"_/Users/bricker/websites/kpcc/outpost/app/assets/javascripts/outpost/notification.js.coffee; TI" mtime; FI"2013-12-06T15:00:44-08:00; FI"digest; F"%a1dcad4083130e772d52621f242b09c2I" _version; F"%ac1cd7cf9811f9938e2b8937c60a24e6