Skip to content

Commit e508bef

Browse files
committed
Version 1.4.6
1 parent 1a467c8 commit e508bef

11 files changed

+289
-202
lines changed

README.rst

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -604,12 +604,7 @@ FAQ
604604
`Backgrid.Extension.Paginator <http://backgridjs.com/api/#api-paginator>`_ -
605605
an extension for the `Backgrid.js <http://backgridjs.com>`_ project. The
606606
project needed a smart and intuitive model that is well-documented and
607-
well-tested to manage the paginator view. Upon examining the popular project
608-
`Backbone.Paginator <https://github.com/addyosmani/backbone.paginator/>`_,
609-
the author has concluded that it does not satisfy the above
610-
requirements. Furthermore, the progress of the the project is too slow. The
611-
author hopes to reinvent a better wheel that is better suited and supported
612-
for `Backgrid.js <http://backgridjs.com>`_.
607+
well-tested to manage the paginator view.
613608

614609
#. Which package managers does backbone-pageable support?
615610

@@ -626,6 +621,16 @@ FAQ
626621
Change Log
627622
----------
628623

624+
1.4.6
625+
- Really really fixed `(Issue #114)
626+
<https://github.com/backbone-paginator/backbone-pageable/issues/114>`_
627+
- Deprecated `hasPrevious` and `hasPrevious` in favor of `hasPreviousPage`
628+
and `hasNextPage`. `(Issue #148)
629+
<https://github.com/backbone-paginator/backbone-pageable/pull/148>`_
630+
- Fixed RangeError when downsizing a 0-based non-server mode pageable
631+
collection. `(Issue #158)
632+
<https://github.com/backbone-paginator/backbone-pageable/pull/158>`_
633+
629634
1.4.5
630635
- A more correct parsing of RFC 5988 Links header relations in
631636
`parseLinks`. `(Issue #140)

api/data-a11037d1db6a8cc08cb5511fce0d4ce0.js renamed to api/data-e7e6bddc00c35e6998b99348a3160418.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@ Docs = {
123123
},
124124
"sort": 3
125125
},
126+
{
127+
"name": "hasPreviousPage",
128+
"fullName": "Backbone.PageableCollection.hasPreviousPage",
129+
"icon": "icon-method",
130+
"url": "#!/api/Backbone.PageableCollection-method-hasPreviousPage",
131+
"meta": {
132+
},
133+
"sort": 3
134+
},
126135
{
127136
"name": "hasPrevious",
128137
"fullName": "Backbone.PageableCollection.hasPrevious",
@@ -132,6 +141,15 @@ Docs = {
132141
},
133142
"sort": 3
134143
},
144+
{
145+
"name": "hasNextPage",
146+
"fullName": "Backbone.PageableCollection.hasNextPage",
147+
"icon": "icon-method",
148+
"url": "#!/api/Backbone.PageableCollection-method-hasNextPage",
149+
"meta": {
150+
},
151+
"sort": 3
152+
},
135153
{
136154
"name": "hasNext",
137155
"fullName": "Backbone.PageableCollection.hasNext",

api/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<link rel="stylesheet" href="resources/css/app-0b2d94a756da271cc9ed4a65f4837560.css" type="text/css" />
1313

1414
<script type="text/javascript" src="extjs/ext-all.js"></script>
15-
<script type="text/javascript" src="data-a11037d1db6a8cc08cb5511fce0d4ce0.js"></script>
15+
<script type="text/javascript" src="data-e7e6bddc00c35e6998b99348a3160418.js"></script>
1616

1717
<script type="text/javascript" src="app-2a09dc1c9acadab58e390b770a9565d0.js"></script>
1818

@@ -44,7 +44,7 @@ <h3>Backbone</h3>
4444

4545

4646

47-
<div id='footer-content' style='display: none'>Generated on Tue 21 Jan 2014 20:39:50 by <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> 4.10.4.</div>
47+
<div id='footer-content' style='display: none'>Generated on Fri 11 Apr 2014 21:13:25 by <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> 4.10.4.</div>
4848

4949

5050

api/output/Backbone.PageableCollection.js

Lines changed: 17 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

component.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "backbone-pageable",
3-
"repo": "backbone-paginator/backbone-pageable",
4-
"version": "1.4.5",
3+
"repository": "backbone-paginator/backbone-pageable",
4+
"version": "1.4.6",
55
"description": "A pageable Backbone.Collection superset. Supports server-side/client-side/infinite pagination and sorting.",
66
"keywords": [
77
"backbone"
@@ -11,8 +11,8 @@
1111
"lib/backbone-pageable.js"
1212
],
1313
"dependencies": {
14-
"jashkenas/underscore": "*",
15-
"jashkenas/backbone": "*"
14+
"jashkenas/underscore": "^1.5.0",
15+
"jashkenas/backbone": "^1.1.2"
1616
},
1717
"demo": "https://github.com/backbone-paginator/backbone-pageable#playable-demos",
1818
"license": "MIT"

lib/backbone-pageable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
backbone-pageable 1.4.5
2+
backbone-pageable 1.4.6
33
http://github.com/backbone-paginator/backbone-pageable
44
55
Copyright (c) 2013 Jimmy Yuen Ho Wong

lib/backbone-pageable.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "backbone-pageable",
3-
"version": "1.4.5",
3+
"version": "1.4.6",
44
"description": "A pageable Backbone.Collection superset. Supports server-side/client-side/infinite pagination and sorting.",
55
"main": "lib/backbone-pageable.js",
66
"repository": {
@@ -18,16 +18,16 @@
1818
},
1919
"dependencies": {
2020
"underscore": ">=1.4.0",
21-
"backbone": ">=1.1.0"
21+
"backbone": ">=1.1.1"
2222
},
2323
"devDependencies": {
24-
"grunt-contrib-clean": "~0.4.1",
25-
"grunt-jsduck": "~0.1.4",
26-
"grunt-contrib-uglify": "~0.2.2",
27-
"grunt-cli": "~0.1.9",
28-
"grunt": "~0.4.1",
29-
"grunt-qunit-istanbul": "~0.1.3",
30-
"grunt-contrib-connect": "~0.3.0"
24+
"grunt-contrib-clean": "^0.4.1",
25+
"grunt-jsduck": "^0.1.4",
26+
"grunt-contrib-uglify": "^0.2.2",
27+
"grunt-cli": "^0.1.9",
28+
"grunt": "^0.4.1",
29+
"grunt-qunit-istanbul": "^0.1.3",
30+
"grunt-contrib-connect": "^0.3.0"
3131
},
3232
"scripts": {
3333
"test": "grunt qunit"

test/coverage/index.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -183,16 +183,16 @@
183183
<h1>Code coverage report for <span class="entity">All files</span></h1>
184184
<h2>
185185

186-
Statements: <span class="metric">94.53% <small>(415 / 439)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
186+
Statements: <span class="metric">93.27% <small>(416 / 446)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
187187

188188

189-
Branches: <span class="metric">90.68% <small>(321 / 354)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
189+
Branches: <span class="metric">89.39% <small>(320 / 358)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
190190

191191

192-
Functions: <span class="metric">97.78% <small>(44 / 45)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
192+
Functions: <span class="metric">93.62% <small>(44 / 47)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
193193

194194

195-
Lines: <span class="metric">95.29% <small>(384 / 403)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
195+
Lines: <span class="metric">93.9% <small>(385 / 410)</small></span> &nbsp;&nbsp;&nbsp;&nbsp;
196196

197197
</h2>
198198
<div class="path"></div>
@@ -216,23 +216,23 @@ <h2>
216216
</thead>
217217
<tbody><tr>
218218
<td class="file high" data-value="lib/"><a href="lib/index.html">lib/</a></td>
219-
<td data-value="94.53" class="pic high"><span class="cover-fill" style="width: 94px;"></span><span class="cover-empty" style="width:6px;"></span></td>
220-
<td data-value="94.53" class="pct high">94.53%</td>
221-
<td data-value="439" class="abs high">(415&nbsp;/&nbsp;439)</td>
222-
<td data-value="90.68" class="pct high">90.68%</td>
223-
<td data-value="354" class="abs high">(321&nbsp;/&nbsp;354)</td>
224-
<td data-value="97.78" class="pct high">97.78%</td>
225-
<td data-value="45" class="abs high">(44&nbsp;/&nbsp;45)</td>
226-
<td data-value="95.29" class="pct high">95.29%</td>
227-
<td data-value="403" class="abs high">(384&nbsp;/&nbsp;403)</td>
219+
<td data-value="93.27" class="pic high"><span class="cover-fill" style="width: 93px;"></span><span class="cover-empty" style="width:7px;"></span></td>
220+
<td data-value="93.27" class="pct high">93.27%</td>
221+
<td data-value="446" class="abs high">(416&nbsp;/&nbsp;446)</td>
222+
<td data-value="89.39" class="pct high">89.39%</td>
223+
<td data-value="358" class="abs high">(320&nbsp;/&nbsp;358)</td>
224+
<td data-value="93.62" class="pct high">93.62%</td>
225+
<td data-value="47" class="abs high">(44&nbsp;/&nbsp;47)</td>
226+
<td data-value="93.9" class="pct high">93.9%</td>
227+
<td data-value="410" class="abs high">(385&nbsp;/&nbsp;410)</td>
228228
</tr>
229229

230230
</tbody>
231231
</table>
232232
</div>
233233
</div>
234234
<div class="footer">
235-
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Jan 21 2014 20:39:49 GMT+0800 (HKT)</div>
235+
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Fri Apr 11 2014 21:13:25 GMT+0800 (HKT)</div>
236236
</div>
237237

238238
<script src="prettify.js"></script>

0 commit comments

Comments
 (0)