couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [42/50] git commit: fix split error in database/resources.js and dont minify js for now
Date Tue, 19 Mar 2013 23:24:40 GMT
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/master
Commit: 5cd6a86febc440731c3975f26cd85dbccf6ef5d5
Parents: 2bf02df
Author: Garren Smith <garren.smith@gmail.com>
Authored: Tue Mar 19 10:18:03 2013 +0200
Committer: Garren Smith <garren.smith@gmail.com>
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];


Mime
View raw message