jquery-bootstrap-pagination 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock
CHANGED
@@ -132,10 +132,10 @@
|
|
132
132
|
# renders the pagination links to the element. the
|
133
133
|
# element is cleared of all of it's HTML in this process.
|
134
134
|
render: =>
|
135
|
+
@el.html("")
|
135
136
|
# if there is only 1 page and the 'ignore_single_page' flag
|
136
137
|
# is 'true' then render nothing.
|
137
138
|
if @settings.total_pages is 1 and @settings.ignore_single_page
|
138
|
-
@el.html("")
|
139
139
|
return
|
140
140
|
# render all of the pages:
|
141
141
|
html = ["<div class='jquery-bootstrap-pagination pagination'>"]
|
@@ -133,8 +133,8 @@
|
|
133
133
|
|
134
134
|
PaginationView.prototype.render = function() {
|
135
135
|
var html, link, _i, _len, _ref;
|
136
|
+
this.el.html("");
|
136
137
|
if (this.settings.total_pages === 1 && this.settings.ignore_single_page) {
|
137
|
-
this.el.html("");
|
138
138
|
return;
|
139
139
|
}
|
140
140
|
html = ["<div class='jquery-bootstrap-pagination pagination'>"];
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-bootstrap-pagination
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-12 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A simple and clean pagination implementation for jQuery and Twitter Bootstrap.
|
15
15
|
email:
|
@@ -43,17 +43,17 @@ rdoc_options: []
|
|
43
43
|
require_paths:
|
44
44
|
- lib
|
45
45
|
required_ruby_version: !ruby/object:Gem::Requirement
|
46
|
-
none: false
|
47
46
|
requirements:
|
48
47
|
- - ! '>='
|
49
48
|
- !ruby/object:Gem::Version
|
50
49
|
version: '0'
|
51
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
50
|
none: false
|
51
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
52
|
requirements:
|
54
53
|
- - ! '>='
|
55
54
|
- !ruby/object:Gem::Version
|
56
55
|
version: '0'
|
56
|
+
none: false
|
57
57
|
requirements: []
|
58
58
|
rubyforge_project:
|
59
59
|
rubygems_version: 1.8.24
|