o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1372441621.8128939: @value"ë {I" class:EFI"ProcessedAsset;FI"logical_path;F"7iugu-ux/components/usecode/iugu-ui-search-range.jsI" pathname;F"/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-search-range.js.coffeeI"content_type;FI"application/javascript;FI" mtime;FI"2013-01-08T11:07:48-02:00;FI" length;Fi4I" digest;F"%6ff57aa0068180166e043e92750ba100I" source;FI"4(function() { var _ref, __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; }; IuguUI.SearchRange = (function(_super) { __extends(SearchRange, _super); function SearchRange() { _ref = SearchRange.__super__.constructor.apply(this, arguments); return _ref; } SearchRange.prototype.layout = "iugu-ui-search-range"; SearchRange.prototype.defaults = { fieldName: "created_at" }; SearchRange.prototype.events = { 'click .search-range-submit': 'searchCollection' }; SearchRange.prototype.searchCollection = function(e) { var from, to; e.preventDefault(); from = $('.search-range-from').val(); to = $('.search-range-to').val(); if (from === "") { this.collection.removeFilter(this.options.fieldName + '_from'); } else { this.collection.configureFilter(this.options.fieldName + '_from', from); } if (to === "") { this.collection.removeFilter(this.options.fieldName + '_to'); } else { this.collection.configureFilter(this.options.fieldName + '_to', to); } return this.collection.fetch(); }; SearchRange.prototype.initialize = function() { _.bindAll(this, 'searchCollection'); SearchRange.__super__.initialize.apply(this, arguments); return this; }; SearchRange.prototype.render = function() { return SearchRange.__super__.render.apply(this, arguments); }; return SearchRange; })(IuguUI.Base); this.IuguUI.SearchRange = IuguUI.SearchRange; }).call(this); ;TI"dependency_digest;F"%2ff5ca5286e830bf86982cf91aa69052I"required_paths;F["/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-search-range.js.coffeeI"dependency_paths;F[{I" path;F"/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-search-range.js.coffeeI" mtime;FI"2013-01-08T11:07:48-02:00;FI" digest;F"%30e244a4a57c85cac1e3070e1f8784e4I" _version;F"%6776f581a4329e299531e1d52aa59832