o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1357654406.205924-Ü: @value"S {I" class:EFI"ProcessedAsset;FI"logical_path;FI"(iugu-ux/components/base_resource.js;FI" pathname;FI"u/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/base_resource.js.coffee;FI"content_type;FI"application/javascript;FI" mtime;FI"2013-01-08T10:21:01-02:00;FI" length;FiÇI" digest;F"%08c11b73d642e16b8208212aa2a60cf1I" source;FI"Ç(function() { var __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; }; window.app.BaseResource = (function(_super) { __extends(BaseResource, _super); function BaseResource() { return BaseResource.__super__.constructor.apply(this, arguments); } BaseResource.prototype.virtual_attributes = []; BaseResource.prototype.sync = function(method, model, options) { this.configureAjax(); return Backbone.sync(method, model, options); }; BaseResource.prototype.toJSON = function(options) { return _.omit(_.clone(this.attributes), this.virtual_attributes); }; BaseResource.prototype.url = function() { var base; base = BaseResource.__super__.url.apply(this, arguments); return base = this.appendLocaleInfo(base); }; BaseResource.prototype.configureAjax = function() { return $.ajaxSetup({ headers: { Authorization: $.base64.encode(api_token) } }); }; BaseResource.prototype.appendLocaleInfo = function(uri) { return uri + (uri.indexOf('?') ? '?' : '&') + 'hl=' + encodeURIComponent(i18n.locale); }; return BaseResource; })(Backbone.Model); }).call(this); ;TI"dependency_digest;F"%72bd606ba735c0bdb932043d5c8b5531I"required_paths;F[I"u/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/base_resource.js.coffee;FI"dependency_paths;F[{I" path;FI"u/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/base_resource.js.coffee;FI" mtime;FI"2013-01-08T10:21:01-02:00;FI" digest;F"%f25117a25c93d05f42c0f83ecdefa369I" _version;F"%9f3b95dd7ea3030dc35985c0a8020862