Update React: 0.11.1 -> 0.11.2
This commit is contained in:
parent
4b743f420b
commit
d6670f4157
3 changed files with 20310 additions and 9 deletions
20276
public/js/react-0.11.2-with-addons.js
Normal file
20276
public/js/react-0.11.2-with-addons.js
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* React v0.11.1
|
* React v0.11.2
|
||||||
*/
|
*/
|
||||||
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.React=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
|
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.React=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
|
||||||
/**
|
/**
|
||||||
|
@ -3596,6 +3596,7 @@ var HTMLDOMPropertyConfig = {
|
||||||
loop: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
|
loop: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
|
||||||
max: null,
|
max: null,
|
||||||
maxLength: MUST_USE_ATTRIBUTE,
|
maxLength: MUST_USE_ATTRIBUTE,
|
||||||
|
media: MUST_USE_ATTRIBUTE,
|
||||||
mediaGroup: null,
|
mediaGroup: null,
|
||||||
method: null,
|
method: null,
|
||||||
min: null,
|
min: null,
|
||||||
|
@ -3603,6 +3604,7 @@ var HTMLDOMPropertyConfig = {
|
||||||
muted: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
|
muted: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
|
||||||
name: null,
|
name: null,
|
||||||
noValidate: HAS_BOOLEAN_VALUE,
|
noValidate: HAS_BOOLEAN_VALUE,
|
||||||
|
open: null,
|
||||||
pattern: null,
|
pattern: null,
|
||||||
placeholder: null,
|
placeholder: null,
|
||||||
poster: null,
|
poster: null,
|
||||||
|
@ -3623,11 +3625,12 @@ var HTMLDOMPropertyConfig = {
|
||||||
selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
|
selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
|
||||||
shape: null,
|
shape: null,
|
||||||
size: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,
|
size: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,
|
||||||
|
sizes: MUST_USE_ATTRIBUTE,
|
||||||
span: HAS_POSITIVE_NUMERIC_VALUE,
|
span: HAS_POSITIVE_NUMERIC_VALUE,
|
||||||
spellCheck: null,
|
spellCheck: null,
|
||||||
src: null,
|
src: null,
|
||||||
srcDoc: MUST_USE_PROPERTY,
|
srcDoc: MUST_USE_PROPERTY,
|
||||||
srcSet: null,
|
srcSet: MUST_USE_ATTRIBUTE,
|
||||||
start: HAS_NUMERIC_VALUE,
|
start: HAS_NUMERIC_VALUE,
|
||||||
step: null,
|
step: null,
|
||||||
style: null,
|
style: null,
|
||||||
|
@ -4114,9 +4117,21 @@ var ReactServerRendering = _dereq_("./ReactServerRendering");
|
||||||
var ReactTextComponent = _dereq_("./ReactTextComponent");
|
var ReactTextComponent = _dereq_("./ReactTextComponent");
|
||||||
|
|
||||||
var onlyChild = _dereq_("./onlyChild");
|
var onlyChild = _dereq_("./onlyChild");
|
||||||
|
var warning = _dereq_("./warning");
|
||||||
|
|
||||||
ReactDefaultInjection.inject();
|
ReactDefaultInjection.inject();
|
||||||
|
|
||||||
|
// Specifying arguments isn't necessary since we just use apply anyway, but it
|
||||||
|
// makes it clear for those actually consuming this API.
|
||||||
|
function createDescriptor(type, props, children) {
|
||||||
|
var args = Array.prototype.slice.call(arguments, 1);
|
||||||
|
return type.apply(null, args);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ("production" !== "development") {
|
||||||
|
var _warnedForDeprecation = false;
|
||||||
|
}
|
||||||
|
|
||||||
var React = {
|
var React = {
|
||||||
Children: {
|
Children: {
|
||||||
map: ReactChildren.map,
|
map: ReactChildren.map,
|
||||||
|
@ -4130,10 +4145,18 @@ var React = {
|
||||||
EventPluginUtils.useTouchEvents = shouldUseTouch;
|
EventPluginUtils.useTouchEvents = shouldUseTouch;
|
||||||
},
|
},
|
||||||
createClass: ReactCompositeComponent.createClass,
|
createClass: ReactCompositeComponent.createClass,
|
||||||
createDescriptor: function(type, props, children) {
|
createDescriptor: function() {
|
||||||
var args = Array.prototype.slice.call(arguments, 1);
|
if ("production" !== "development") {
|
||||||
return type.apply(null, args);
|
("production" !== "development" ? warning(
|
||||||
|
_warnedForDeprecation,
|
||||||
|
'React.createDescriptor is deprecated and will be removed in the ' +
|
||||||
|
'next version of React. Use React.createElement instead.'
|
||||||
|
) : null);
|
||||||
|
_warnedForDeprecation = true;
|
||||||
|
}
|
||||||
|
return createDescriptor.apply(this, arguments);
|
||||||
},
|
},
|
||||||
|
createElement: createDescriptor,
|
||||||
constructAndRenderComponent: ReactMount.constructAndRenderComponent,
|
constructAndRenderComponent: ReactMount.constructAndRenderComponent,
|
||||||
constructAndRenderComponentByID: ReactMount.constructAndRenderComponentByID,
|
constructAndRenderComponentByID: ReactMount.constructAndRenderComponentByID,
|
||||||
renderComponent: ReactPerf.measure(
|
renderComponent: ReactPerf.measure(
|
||||||
|
@ -4202,11 +4225,11 @@ if ("production" !== "development") {
|
||||||
|
|
||||||
// Version exists only in the open-source version of React, not in Facebook's
|
// Version exists only in the open-source version of React, not in Facebook's
|
||||||
// internal version.
|
// internal version.
|
||||||
React.version = '0.11.1';
|
React.version = '0.11.2';
|
||||||
|
|
||||||
module.exports = React;
|
module.exports = React;
|
||||||
|
|
||||||
},{"./DOMPropertyOperations":11,"./EventPluginUtils":19,"./ExecutionEnvironment":21,"./ReactChildren":30,"./ReactComponent":31,"./ReactCompositeComponent":33,"./ReactContext":34,"./ReactCurrentOwner":35,"./ReactDOM":36,"./ReactDOMComponent":38,"./ReactDefaultInjection":48,"./ReactDescriptor":51,"./ReactInstanceHandles":59,"./ReactMount":61,"./ReactMultiChild":62,"./ReactPerf":65,"./ReactPropTypes":69,"./ReactServerRendering":73,"./ReactTextComponent":75,"./onlyChild":135}],28:[function(_dereq_,module,exports){
|
},{"./DOMPropertyOperations":11,"./EventPluginUtils":19,"./ExecutionEnvironment":21,"./ReactChildren":30,"./ReactComponent":31,"./ReactCompositeComponent":33,"./ReactContext":34,"./ReactCurrentOwner":35,"./ReactDOM":36,"./ReactDOMComponent":38,"./ReactDefaultInjection":48,"./ReactDescriptor":51,"./ReactInstanceHandles":59,"./ReactMount":61,"./ReactMultiChild":62,"./ReactPerf":65,"./ReactPropTypes":69,"./ReactServerRendering":73,"./ReactTextComponent":75,"./onlyChild":135,"./warning":143}],28:[function(_dereq_,module,exports){
|
||||||
/**
|
/**
|
||||||
* Copyright 2013-2014 Facebook, Inc.
|
* Copyright 2013-2014 Facebook, Inc.
|
||||||
*
|
*
|
||||||
|
@ -6981,6 +7004,7 @@ var ReactDOM = mapObject({
|
||||||
del: false,
|
del: false,
|
||||||
details: false,
|
details: false,
|
||||||
dfn: false,
|
dfn: false,
|
||||||
|
dialog: false,
|
||||||
div: false,
|
div: false,
|
||||||
dl: false,
|
dl: false,
|
||||||
dt: false,
|
dt: false,
|
||||||
|
@ -7028,6 +7052,7 @@ var ReactDOM = mapObject({
|
||||||
output: false,
|
output: false,
|
||||||
p: false,
|
p: false,
|
||||||
param: true,
|
param: true,
|
||||||
|
picture: false,
|
||||||
pre: false,
|
pre: false,
|
||||||
progress: false,
|
progress: false,
|
||||||
q: false,
|
q: false,
|
||||||
|
@ -18456,4 +18481,4 @@ module.exports = warning;
|
||||||
|
|
||||||
},{"./emptyFunction":102}]},{},[27])
|
},{"./emptyFunction":102}]},{},[27])
|
||||||
(27)
|
(27)
|
||||||
});
|
});
|
|
@ -35,7 +35,7 @@
|
||||||
(include-css "/css/styles.css")]
|
(include-css "/css/styles.css")]
|
||||||
[:body
|
[:body
|
||||||
[:div#container]
|
[:div#container]
|
||||||
(include-js "/js/react-0.11.1.js")
|
(include-js "/js/react-0.11.2-with-addons.js")
|
||||||
(include-js "/js/out/goog/base.js")
|
(include-js "/js/out/goog/base.js")
|
||||||
(include-js "/js/grub.js")
|
(include-js "/js/grub.js")
|
||||||
[:script {:type "text/javascript"} "goog.require(\"grub.core\")"]]))
|
[:script {:type "text/javascript"} "goog.require(\"grub.core\")"]]))
|
||||||
|
|
Loading…
Add table
Reference in a new issue