diff options
author | Garren Smith <garren.smith@gmail.com> | 2013-03-19 10:18:03 +0200 |
---|---|---|
committer | Garren Smith <garren.smith@gmail.com> | 2013-03-19 10:18:03 +0200 |
commit | 5cd6a86febc440731c3975f26cd85dbccf6ef5d5 (patch) | |
tree | 1140ad326f0d9b109dc14df062afc6d930c70540 | |
parent | 2bf02df9cb105db4e52de1e0f7129b8cb3a2962f (diff) | |
download | couchdb-5cd6a86febc440731c3975f26cd85dbccf6ef5d5.tar.gz |
fix split error in database/resources.js and dont minify js for now
-rw-r--r-- | src/fauxton/Gruntfile.js | 3 | ||||
-rw-r--r-- | src/fauxton/app/modules/databases/resources.js | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/fauxton/Gruntfile.js b/src/fauxton/Gruntfile.js index 096d658e8..4c9bbb145 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" } } }, diff --git a/src/fauxton/app/modules/databases/resources.js b/src/fauxton/app/modules/databases/resources.js index d0c655d7c..e5d3faefb 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]; |