o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1372441616.8802712: @value"ô {I" class:EFI"ProcessedAsset;FI"logical_path;F"iugu-ux/iugu-ui-helpers.jsI" pathname;F"l/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/iugu-ui-helpers.js.coffeeI"content_type;FI"application/javascript;FI" mtime;FI"2013-03-05T16:08:14-03:00;FI" length;Fi  I" digest;F"%ab3df41b7ea92b06863f56101331b680I" source;FI"  (function() { IuguUI.Helpers = (function() { function Helpers() {} Helpers.bindNavigatorToCollection = function(collection, navigator, context) { var gotoNextPage, gotoPage, gotoPreviousPage; navigator.context = function() { var info; info = collection.info(); return { currentPage: info.currentPage, firstPage: info.firstPage, lastPage: info.lastPage }; }; gotoNextPage = function() { return collection.gotoNext(); }; gotoPreviousPage = function() { return collection.gotoPrevious(); }; gotoPage = function() { return collection.gotoPage(navigator.currentPage().val()); }; navigator.collection = collection; context.on(navigator.identifier() + 'next', gotoNextPage, context); context.on(navigator.identifier() + 'previous', gotoPreviousPage, context); context.on(navigator.identifier() + 'change-page', gotoPage, context); collection.on('all', navigator.render, navigator); return collection.on('changed-page:success', navigator.setFocus, navigator); }; Helpers.bindPaginatorToCollection = function(collection, paginator, context) { var gotoNextPage, gotoPage, gotoPreviousPage; paginator.context = function() { return { currentPage: collection.info().currentPage, firstPage: collection.info().firstPage, lastPage: collection.info().lastPage, pageButtons: this.pageButtonsToShow(paginator.options.numberOfPageButtons, collection.info().firstPage, collection.info().lastPage, collection.info().currentPage), enableAdditionalButtons: paginator.options.enableAdditionalButtons }; }; gotoNextPage = function() { return collection.gotoNext(); }; gotoPreviousPage = function() { return collection.gotoPrevious(); }; gotoPage = function() { return collection.gotoPage(paginator.currentPage); }; paginator.collection = collection; context.on(paginator.identifier() + 'next', gotoNextPage, context); context.on(paginator.identifier() + 'previous', gotoPreviousPage, context); context.on(paginator.identifier() + 'change-page', gotoPage, context); return collection.on('all', paginator.render, paginator); }; return Helpers; })(); this.IuguUI.Helpers = IuguUI.Helpers; }).call(this); ;TI"dependency_digest;F"%0f5de3866b350aca93cbf95e132cc784I"required_paths;F["l/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/iugu-ui-helpers.js.coffeeI"dependency_paths;F[{I" path;F"l/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/iugu-ui-helpers.js.coffeeI" mtime;FI"2013-03-05T16:08:14-03:00;FI" digest;F"%1301b1ed706fca9fe2f1bf37fdaebee5I" _version;F"%6776f581a4329e299531e1d52aa59832