Fix unit tests (album.finalise argument should be optional)

pull/51/head
Romain 8 years ago
parent 6d245f3ed5
commit b905d62ac3

@ -36,6 +36,7 @@ function Album(opts) {
}
Album.prototype.finalize = function(options) {
options = options || {};
// is this the top-level album?
this.home = this.depth === 0;
// finalize all nested albums first (recursive)

Loading…
Cancel
Save