mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 12:43:05 +00:00
Update changelog for 0.14.1 (cherry picked from commit aaf8f870cb242750e842d21ac7ae2f72876f6346) Update readme for 0.14.1 (cherry picked from commit c2dde8df0b365f341416201d1794b0c5e96d1951) 0.14.1 blog post (cherry picked from commit 6e2450e8f29f336ffe9c80d067c8df816957a349) Update website for 0.14.1 (cherry picked from commit f0782e2b2ec79af37987eead2464ac9f303183f5)
43 lines
1.1 KiB
JavaScript
43 lines
1.1 KiB
JavaScript
/**
|
|
* ReactDOM v0.14.1
|
|
*
|
|
* 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;
|
|
});
|