couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [1/3] git commit: updated refs/heads/master to 3a678ce
Date Wed, 15 May 2013 08:53:58 GMT
Updated Branches:
  refs/heads/master 0cd82b901 -> 3a678cebf


Let Notifications take a custom template option.


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

Branch: refs/heads/master
Commit: 8d75e2bc2ab54510b65f1d57883ebaa801dd50cc
Parents: e65d7b7
Author: suelockwood <deathbearbrown@gmail.com>
Authored: Mon Apr 8 09:48:30 2013 -0400
Committer: suelockwood <deathbearbrown@gmail.com>
Committed: Mon Apr 8 09:48:30 2013 -0400

----------------------------------------------------------------------
 src/fauxton/app/modules/fauxton/base.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/8d75e2bc/src/fauxton/app/modules/fauxton/base.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/modules/fauxton/base.js b/src/fauxton/app/modules/fauxton/base.js
index 2526f80..a909392 100644
--- a/src/fauxton/app/modules/fauxton/base.js
+++ b/src/fauxton/app/modules/fauxton/base.js
@@ -91,7 +91,6 @@ function(app, Backbone) {
   });
 
   Fauxton.Notification = Backbone.View.extend({
-    template: "templates/fauxton/notification",
     fadeTimer: 5000,
 
     initialize: function(options) {
@@ -100,6 +99,7 @@ function(app, Backbone) {
       this.selector = options.selector;
       this.fade = options.fade === undefined ? true : options.fade;
       this.clear = options.clear;
+      this.template = options.template || "templates/fauxton/notification";
     },
 
     serialize: function() {


Mime
View raw message