couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From benk...@apache.org
Subject [6/6] fauxton commit: updated refs/heads/master to e6450a0
Date Mon, 01 Feb 2016 17:40:25 GMT
Updating React to 0.14.6


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

Branch: refs/heads/master
Commit: d0cb3d8127b4094b44cbb38e77334664f11fba2d
Parents: 574af6a
Author: Ben Keen <ben.keen@gmail.com>
Authored: Tue Jan 19 09:49:30 2016 -0800
Committer: Ben Keen <ben.keen@gmail.com>
Committed: Mon Feb 1 08:39:35 2016 -0800

----------------------------------------------------------------------
 assets/js/libs/react-dom.js |    42 +
 assets/js/libs/react.js     | 37013 ++++++++++++++++++-------------------
 2 files changed, 18108 insertions(+), 18947 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/d0cb3d81/assets/js/libs/react-dom.js
----------------------------------------------------------------------
diff --git a/assets/js/libs/react-dom.js b/assets/js/libs/react-dom.js
new file mode 100644
index 0000000..928ddd4
--- /dev/null
+++ b/assets/js/libs/react-dom.js
@@ -0,0 +1,42 @@
+/**
+ * ReactDOM v0.14.6
+ *
+ * Copyright 2013-2015, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ */
+// Based off https://github.com/ForbesLindesay/umd/blob/master/template.js
+;(function(f) {
+  // CommonJS
+  if (typeof exports === "object" && typeof module !== "undefined") {
+    module.exports = f(require('react'));
+
+    // RequireJS
+  } else if (typeof define === "function" && define.amd) {
+    define(['react'], f);
+
+    // <script>
+  } else {
+    var g
+    if (typeof window !== "undefined") {
+      g = window;
+    } else if (typeof global !== "undefined") {
+      g = global;
+    } else if (typeof self !== "undefined") {
+      g = self;
+    } else {
+      // works providing we're not in "use strict";
+      // needed for Java 8 Nashorn
+      // see https://github.com/facebook/react/issues/3037
+      g = this;
+    }
+    g.ReactDOM = f(g.React);
+  }
+
+})(function(React) {
+  return React.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
+});


Mime
View raw message