Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

Commit

Permalink
Add chainable back to jsdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
wyuenho committed Jan 20, 2013
1 parent 16e2e74 commit f203dee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ Docs = {
"icon": "icon-method",
"url": "#!/api/Backbone.PageableCollection-method-sync",
"meta": {
"chainable": true
},
"sort": 3
},
Expand Down Expand Up @@ -253,6 +252,7 @@ Docs = {
"icon": "icon-method",
"url": "#!/api/Backbone.PageableCollection-method-setSorting",
"meta": {
"chainable": true
},
"sort": 3
}
Expand Down
2 changes: 1 addition & 1 deletion api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<link rel="stylesheet" href="resources/css/app-1dec1b800f7fee208bc8260fa2fd1d22.css" type="text/css" />

<script type="text/javascript" src="extjs/ext-all.js"></script>
<script type="text/javascript" src="data-0c8684e49d657a778922103a7bfc1a44.js"></script>
<script type="text/javascript" src="data-a5337d15bace010a4c50ade360206e0a.js"></script>

<script type="text/javascript" src="app-c6fdef5b424714d909c92c47a65b7a8f.js"></script>

Expand Down
4 changes: 2 additions & 2 deletions api/output/Backbone.PageableCollection.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion lib/backbone-pageable.js
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@
@param {Backbone.Model|Backbone.Collection} model
@param {Object} [options]
@chainable
@return {XMLHttpRequest}
*/
sync: function (method, model, options) {
var self = this;
Expand Down Expand Up @@ -1169,6 +1169,8 @@
`sortKey` to `null` removes the comparator from both the current page and
the full collection.
@chainable
@param {string} sortKey See `state.sortKey`.
@param {number} [order=this.state.order] See `state.order`.
@param {Object} [options]
Expand Down

0 comments on commit f203dee

Please sign in to comment.