Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Build 3.0.0-pre.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ahumphreys87 committed Nov 7, 2016
1 parent a821c45 commit ebf0a79
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 8 deletions.
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### v3.0.0-pre.3 [view commit logs](https://github.com/BedeGaming/orchestra/compare/v3.0.0-pre.2...v3.0.0-pre.3)

#### Misc

* import full lodash in `Collection`.

### v3.0.0-pre.2 [view commit logs](https://github.com/BedeGaming/orchestra/compare/v3.0.0-pre.1...v3.0.0-pre.2)

#### Package Updates
Expand Down
6 changes: 4 additions & 2 deletions dist/orchestra.js
Original file line number Diff line number Diff line change
Expand Up @@ -43925,17 +43925,19 @@ var _backbone2 = _interopRequireDefault(_backbone);

var _lodash = require('lodash');

var _lodash2 = _interopRequireDefault(_lodash);

function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

var Collection = exports.Collection = _backbone2.default.Collection.extend({
next: function next(model) {
return this.at((this.indexOf(model) + 1) % (0, _lodash.size)(this));
return this.at((this.indexOf(model) + 1) % _lodash2.default.size(this));
},
prev: function prev(model) {
var index = this.indexOf(model) - 1;
return this.at(index > -1 ? index : (0, _lodash.size)(this) - 1);
return this.at(index > -1 ? index : _lodash2.default.size(this) - 1);
}
});

Expand Down
2 changes: 1 addition & 1 deletion dist/orchestra.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/orchestra.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/orchestra.min.js.map

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions lib/mvc/collection.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/mvc/collection.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ebf0a79

Please sign in to comment.