Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Task specific code removed
  • Loading branch information
Eugene Simakin committed Aug 25, 2014
1 parent ac1dd19 commit 7180c79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jquery.twbsPagination.js
Expand Up @@ -17,7 +17,6 @@

var TwbsPagination = function (element, options) {
this.$element = $(element);
this.options = $.extend({}, $.fn.twbsPagination.defaults, options);
this.init(this.options);
};

Expand All @@ -26,7 +25,7 @@
constructor: TwbsPagination,

init: function (options) {
this.options = $.extend({}, this.options, options);
this.options = $.extend({}, $.fn.twbsPagination.defaults, options);

if (this.options.startPage < 1 || this.options.startPage > this.options.totalPages) {
throw new Error('Start page option is incorrect');
Expand Down

0 comments on commit 7180c79

Please sign in to comment.