o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1337166860.091054: @value"{I" class:EFI"ProcessedAsset;FI"logical_path;F"ems/ems.jsI" pathname;F"_/private/var/www/html/development/projects/rails/ems/app/assets/javascripts/ems/ems.coffeeI"content_type;FI"application/javascript;FI" mtime;FI"2012-05-16T12:14:18+01:00;FI" length;Fiä I" digest;F"%4bc8904aa95f74cd12a0bcc58abda763I" source;FI"ä (function() { var Ems, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; Ems = (function(_super) { __extends(Ems, _super); function Ems() { return Ems.__super__.constructor.apply(this, arguments); } Ems.global(true); Ems.title = "studentbeans.com EMS"; Batman.ViewStore.prefix = 'assets/ems/views/'; Ems.navLinks = [ { text: "Articles", href: "/ems/#!/articles/", secondary: [ { text: "Show Insight Articles", href: "/ems/#!/categories/insight/articles" }, { text: "New Insight Article", href: "/ems/#!/categories/insight/articles/new" } ] }, { text: "Reports", href: "/ems/#!/reports/", secondary: [ { text: "Show Insight Reports", href: "/ems/#!/categories/insight/reports" }, { text: "New Insight Report", href: "/ems/#!/categories/insight/reports/new" } ] }, { text: "News", href: "/ems/#!/company-news/", secondary: [ { text: "Show Company News", href: "/ems/#!/categories/company-news/reports" }, { text: "New Company News", href: "/ems/#!/categories/company-news/news/new" } ] }, { href: "/ems/#!/logout", text: "Log out", secondary: false } ]; Ems.root('ems#index'); Ems.route('404', 'ems#fourohfour'); Ems.resources('categories', function() { this.resources('articles', function() { return this.member('article', 'preview', { action: 'preview' }); }); this.resources('news', function() { return this.member('news', 'preview', { action: 'preview' }); }); return this.resources('reports', function() { return this.member('report', 'preview', { action: 'preview' }); }); }); Ems.resources('tags'); Ems.resources('channels'); Ems.on('run', function() { return typeof console !== "undefined" && console !== null ? console.log("Running ....") : void 0; }); Ems.on('ready', function() { return typeof console !== "undefined" && console !== null ? console.log("Ems ready for use.") : void 0; }); Ems.flash = Batman(); Ems.flash.accessor({ get: function(key) { return this[key]; }, set: function(key, value) { var _this = this; this[key] = value; if (value !== '') { setTimeout(function() { return _this.set(key, ''); }, 2000); } return value; } }); Ems.flashSuccess = function(message) { return this.set('flash.success', message); }; Ems.flashError = function(message) { return this.set('flash.error', message); }; return Ems; })(Batman.App); }).call(this); ;TI"dependency_digest;F"%0002245717c8b702e22d4ac4dfb70feaI"required_paths;F["_/private/var/www/html/development/projects/rails/ems/app/assets/javascripts/ems/ems.coffeeI"dependency_paths;F[{I" path;F"_/private/var/www/html/development/projects/rails/ems/app/assets/javascripts/ems/ems.coffeeI" mtime;FI"2012-05-16T12:14:18+01:00;FI" digest;F"%1d0ec228013acb29c9057b092804a0ebI" _version;F"%9f3b95dd7ea3030dc35985c0a8020862