couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [8/50] git commit: Temporarily disable contribute addon and add gitignore
Date Tue, 19 Mar 2013 23:24:40 GMT
Temporarily disable contribute addon and add gitignore


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

Branch: refs/heads/master
Commit: 9667be958948cad2e5d410ca4bc403664d694679
Parents: 0649baf
Author: Russell Branca <chewbranca@gmail.com>
Authored: Mon Mar 11 16:33:53 2013 -0700
Committer: Russell Branca <chewbranca@gmail.com>
Committed: Mon Mar 11 16:33:53 2013 -0700

----------------------------------------------------------------------
 src/fauxton/.gitignore                    |   10 ++++++++++
 src/fauxton/app/addons/contribute/base.js |    4 ++++
 2 files changed, 14 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/9667be95/src/fauxton/.gitignore
----------------------------------------------------------------------
diff --git a/src/fauxton/.gitignore b/src/fauxton/.gitignore
new file mode 100644
index 0000000..dbbda86
--- /dev/null
+++ b/src/fauxton/.gitignore
@@ -0,0 +1,10 @@
+node_modules
+dist
+build
+app/load_addons.js
+!app/addons/
+app/addons/*
+!app/addons/config
+!app/addons/logs
+!app/addons/contribute
+settings.json
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9667be95/src/fauxton/app/addons/contribute/base.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/contribute/base.js b/src/fauxton/app/addons/contribute/base.js
index 50a12cb..1bc9fd3 100644
--- a/src/fauxton/app/addons/contribute/base.js
+++ b/src/fauxton/app/addons/contribute/base.js
@@ -5,13 +5,17 @@ define([
 ],
 function($, _){
   $.contribute = function(message, file){
+    /*
     var JST = window.JST = window.JST || {};
     var template = JST['app/addons/contribute/templates/modal.html'];
     console.log(template);
     var compiled = template({message: message, file: file});
+    */
     console.log('contribute!contribute!monorail!contribute!');
+    /*
     console.log(compiled);
     var elem = $(compiled);
     elem.modal('show');
+    */
   };
 });


Mime
View raw message