couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [45/50] [abbrv] fauxton commit: updated refs/heads/import-master to b32c617
Date Tue, 01 Apr 2014 09:15:01 GMT
Require.js config to support d3 v3 update.


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

Branch: refs/heads/import-master
Commit: 2626dc7088f38645a49e29794e4d846e415e8684
Parents: 58029ef
Author: Christian Hogan <github@infliction.org>
Authored: Fri Mar 21 15:02:28 2014 -0400
Committer: suelockwood <deathbear@apache.org>
Committed: Tue Mar 25 15:19:18 2014 -0400

----------------------------------------------------------------------
 app/config.js | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/2626dc70/app/config.js
----------------------------------------------------------------------
diff --git a/app/config.js b/app/config.js
index 98be9c6..d33f3b8 100644
--- a/app/config.js
+++ b/app/config.js
@@ -53,6 +53,8 @@ require.config({
       deps: ["jquery"],
       exports: "Bootstrap"
     },
+    
+    "nv.d3": ["d3.global"],
 
     "plugins/prettify": [],
     "plugins/beautify": [],
@@ -60,3 +62,9 @@ require.config({
     "plugins/jquery.form": ["jquery"]
   }
 });
+
+define("d3.global", ["d3"], function(_) {
+  d3 = _;
+});
+
+require(["d3", "nv.d3"], function(d3, nvd3) {});


Mime
View raw message