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){
|
||||
/**
|
||||
|
@ -3596,6 +3596,7 @@ var HTMLDOMPropertyConfig = {
|
|||
loop: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
|
||||
max: null,
|
||||
maxLength: MUST_USE_ATTRIBUTE,
|
||||
media: MUST_USE_ATTRIBUTE,
|
||||
mediaGroup: null,
|
||||
method: null,
|
||||
min: null,
|
||||
|
@ -3603,6 +3604,7 @@ var HTMLDOMPropertyConfig = {
|
|||
muted: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
|
||||
name: null,
|
||||
noValidate: HAS_BOOLEAN_VALUE,
|
||||
open: null,
|
||||
pattern: null,
|
||||
placeholder: null,
|
||||
poster: null,
|
||||
|
@ -3623,11 +3625,12 @@ var HTMLDOMPropertyConfig = {
|
|||
selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
|
||||
shape: null,
|
||||
size: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,
|
||||
sizes: MUST_USE_ATTRIBUTE,
|
||||
span: HAS_POSITIVE_NUMERIC_VALUE,
|
||||
spellCheck: null,
|
||||
src: null,
|
||||
srcDoc: MUST_USE_PROPERTY,
|
||||
srcSet: null,
|
||||
srcSet: MUST_USE_ATTRIBUTE,
|
||||
start: HAS_NUMERIC_VALUE,
|
||||
step: null,
|
||||
style: null,
|
||||
|
@ -4114,9 +4117,21 @@ var ReactServerRendering = _dereq_("./ReactServerRendering");
|
|||
var ReactTextComponent = _dereq_("./ReactTextComponent");
|
||||
|
||||
var onlyChild = _dereq_("./onlyChild");
|
||||
var warning = _dereq_("./warning");
|
||||
|
||||
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 = {
|
||||
Children: {
|
||||
map: ReactChildren.map,
|
||||
|
@ -4130,10 +4145,18 @@ var React = {
|
|||
EventPluginUtils.useTouchEvents = shouldUseTouch;
|
||||
},
|
||||
createClass: ReactCompositeComponent.createClass,
|
||||
createDescriptor: function(type, props, children) {
|
||||
var args = Array.prototype.slice.call(arguments, 1);
|
||||
return type.apply(null, args);
|
||||
createDescriptor: function() {
|
||||
if ("production" !== "development") {
|
||||
("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,
|
||||
constructAndRenderComponentByID: ReactMount.constructAndRenderComponentByID,
|
||||
renderComponent: ReactPerf.measure(
|
||||
|
@ -4202,11 +4225,11 @@ if ("production" !== "development") {
|
|||
|
||||
// Version exists only in the open-source version of React, not in Facebook's
|
||||
// internal version.
|
||||
React.version = '0.11.1';
|
||||
React.version = '0.11.2';
|
||||
|
||||
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.
|
||||
*
|
||||
|
@ -6981,6 +7004,7 @@ var ReactDOM = mapObject({
|
|||
del: false,
|
||||
details: false,
|
||||
dfn: false,
|
||||
dialog: false,
|
||||
div: false,
|
||||
dl: false,
|
||||
dt: false,
|
||||
|
@ -7028,6 +7052,7 @@ var ReactDOM = mapObject({
|
|||
output: false,
|
||||
p: false,
|
||||
param: true,
|
||||
picture: false,
|
||||
pre: false,
|
||||
progress: false,
|
||||
q: false,
|
||||
|
@ -18456,4 +18481,4 @@ module.exports = warning;
|
|||
|
||||
},{"./emptyFunction":102}]},{},[27])
|
||||
(27)
|
||||
});
|
||||
});
|
|
@ -35,7 +35,7 @@
|
|||
(include-css "/css/styles.css")]
|
||||
[:body
|
||||
[: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/grub.js")
|
||||
[:script {:type "text/javascript"} "goog.require(\"grub.core\")"]]))
|
||||
|
|
Loading…
Reference in a new issue