Good find, thanks ;-)
On Tue, Mar 19, 2013 at 1:18 AM, <[email protected]> wrote: > Updated Branches: > refs/heads/fauxton 2bf02df9c -> 5cd6a86fe > > > fix split error in database/resources.js and dont minify js for now > > > Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo > Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/5cd6a86f > Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/5cd6a86f > Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/5cd6a86f > > Branch: refs/heads/fauxton > Commit: 5cd6a86febc440731c3975f26cd85dbccf6ef5d5 > Parents: 2bf02df > Author: Garren Smith <[email protected]> > Authored: Tue Mar 19 10:18:03 2013 +0200 > Committer: Garren Smith <[email protected]> > Committed: Tue Mar 19 10:18:03 2013 +0200 > > ---------------------------------------------------------------------- > src/fauxton/Gruntfile.js | 3 ++- > src/fauxton/app/modules/databases/resources.js | 2 +- > 2 files changed, 3 insertions(+), 2 deletions(-) > ---------------------------------------------------------------------- > > > > http://git-wip-us.apache.org/repos/asf/couchdb/blob/5cd6a86f/src/fauxton/Gruntfile.js > ---------------------------------------------------------------------- > diff --git a/src/fauxton/Gruntfile.js b/src/fauxton/Gruntfile.js > index 096d658..4c9bbb1 100644 > --- a/src/fauxton/Gruntfile.js > +++ b/src/fauxton/Gruntfile.js > @@ -200,7 +200,8 @@ module.exports = function(grunt) { > name: "config", > > // Do not wrap everything in an IIFE. > - wrap: false > + wrap: false, > + optimize: "none" > } > } > }, > > > http://git-wip-us.apache.org/repos/asf/couchdb/blob/5cd6a86f/src/fauxton/app/modules/databases/resources.js > ---------------------------------------------------------------------- > diff --git a/src/fauxton/app/modules/databases/resources.js > b/src/fauxton/app/modules/databases/resources.js > index d0c655d..e5d3fae 100644 > --- a/src/fauxton/app/modules/databases/resources.js > +++ b/src/fauxton/app/modules/databases/resources.js > @@ -102,7 +102,7 @@ function(app, FauxtonAPI, Documents) { > > updateSeq: function(full) { > var updateSeq = this.get("update_seq"); > - if (full) { > + if (full || (typeof(updateSeq) === 'number')) { > return updateSeq; > } else { > return updateSeq.split('-')[0]; > >
