sandbox/tmp/cache/assets/CBB/E20/sprockets%2F00b2c2691b3a8da5553b13d123137c0c in iugu-ux-0.9.5 vs sandbox/tmp/cache/assets/CBB/E20/sprockets%2F00b2c2691b3a8da5553b13d123137c0c in iugu-ux-0.9.8
- old
+ new
@@ -1,17 +1,18 @@
-o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1357654409.4920561 }Ù:@value"Š
{I"
-class:EFI"ProcessedAsset; FI"logical_path; FI"4iugu-ux/components/usecode/iugu-ui-paginator.js; FI"
pathname; FI"|/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-paginator.js.coffee; FI"content_type; FI"application/javascript; FI"
-mtime; FI"2013-01-08T11:07:36-02:00; FI"length; FiË I"digest; F"%2def3b39fbefc6fb3f31c074eb37c63cI"source; FI"Ë (function() {
- var __hasProp = {}.hasOwnProperty,
+o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1372441620.9449651:@value"“
{I"
+class:EFI"ProcessedAsset; FI"logical_path; F"4iugu-ux/components/usecode/iugu-ui-paginator.jsI"
pathname; F"|/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-paginator.js.coffeeI"content_type; FI"application/javascript; FI"
+mtime; FI"2013-01-08T11:07:36-02:00; FI"length; Fiè I"digest; F"%b8023b3f5ceb4c0b283b97ba6620ad53I"source; FI"è (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.Paginator = (function(_super) {
-
__extends(Paginator, _super);
function Paginator() {
- return Paginator.__super__.constructor.apply(this, arguments);
+ _ref = Paginator.__super__.constructor.apply(this, arguments);
+ return _ref;
}
Paginator.prototype.layout = "iugu-ui-paginator";
Paginator.prototype.defaults = {
@@ -56,10 +57,11 @@
return this.handleEvent('change-page');
};
Paginator.prototype.pageButtonsToShow = function(numberOfButtons, firstPage, totalPages, currentPage) {
var begin, end, offset, surrounding;
+
if (!totalPages) {
return;
}
if (numberOfButtons > totalPages) {
return _.range(2, totalPages);
@@ -84,7 +86,7 @@
})(IuguUI.Base);
this.IuguUI.Paginator = IuguUI.Paginator;
}).call(this);
-; TI"dependency_digest; F"%ff3211b0e70097a6e459a5ed29939bc4I"required_paths; F[I"|/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-paginator.js.coffee; FI"dependency_paths; F[{I" path; FI"|/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-paginator.js.coffee; FI"
-mtime; FI"2013-01-08T11:07:36-02:00; FI"digest; F"%29584769563ed615079e1d6f9595844aI"
_version; F"%9f3b95dd7ea3030dc35985c0a8020862
+; TI"dependency_digest; F"%a04d6e37b8cdf9372a9fbc8a08cac8afI"required_paths; F["|/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-paginator.js.coffeeI"dependency_paths; F[{I" path; F"|/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-paginator.js.coffeeI"
+mtime; FI"2013-01-08T11:07:36-02:00; FI"digest; F"%0b4a1f78c4e65cf8626867a50866cf60I"
_version; F"%6776f581a4329e299531e1d52aa59832
\ No newline at end of file