couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject fauxton commit: updated refs/heads/master to 0396942
Date Sun, 24 Aug 2014 14:48:38 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 9d8900bd0 -> 03969421f


Disable async rendering to fix race conditions


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/03969421
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/03969421
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/03969421

Branch: refs/heads/master
Commit: 03969421f92efb3b5c643aa56f84afb2239c0696
Parents: 9d8900b
Author: Robert Kowalski <rok@kowalski.gd>
Authored: Sun Aug 24 16:33:43 2014 +0200
Committer: Robert Kowalski <rok@kowalski.gd>
Committed: Sun Aug 24 16:33:43 2014 +0200

----------------------------------------------------------------------
 app/core/base.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/03969421/app/core/base.js
----------------------------------------------------------------------
diff --git a/app/core/base.js b/app/core/base.js
index b9d0f7f..61da5e4 100644
--- a/app/core/base.js
+++ b/app/core/base.js
@@ -62,7 +62,7 @@ function(Backbone, LayoutManager) {
     manage: true,
     disableLoader: false,
 
-    useRAF: true,
+    useRAF: false,
 
     forceRender: function () {
       this.hasRendered = false;
@@ -88,7 +88,7 @@ function(Backbone, LayoutManager) {
   _.each([FauxtonAPI.Model, FauxtonAPI.Collection], function (ctor) {
     _.extend(ctor.prototype, caching);
   });
-  
+
   var extensions = _.extend({}, Backbone.Events);
   // Can look at a remove function later.
   FauxtonAPI.registerExtension = function (name, view) {
@@ -102,7 +102,7 @@ function(Backbone, LayoutManager) {
 
   FauxtonAPI.unRegisterExtension = function (name) {
     var views = extensions[name];
-    
+
     if (!views) { return; }
     extensions.trigger('remove:' + name, views);
     delete extensions[name];
@@ -125,7 +125,7 @@ function(Backbone, LayoutManager) {
     var _cb = arguments[arguments.length -1];
     if (_.isObject(view) && !cb) {
       _cb = function (item) { return _.isEqual(item, view);};
-    } 
+    }
 
     views = _.filter(views, function (item) {
       return !_cb(item);


Mime
View raw message