react
Advanced tools
Comparing version 0.13.0 to 0.13.1
@@ -36,2 +36,3 @@ /** | ||
var FullPageComponent = ReactClass.createClass({ | ||
tagName: tag.toUpperCase(), | ||
displayName: 'ReactFullPageComponent' + tag, | ||
@@ -38,0 +39,0 @@ |
@@ -146,4 +146,4 @@ /** | ||
React.version = '0.13.0'; | ||
React.version = '0.13.1'; | ||
module.exports = React; |
@@ -166,4 +166,4 @@ /** | ||
return rv; | ||
} else if (moduleName === 'ReactDOMIDOperations' || | ||
moduleName === 'ReactComponentBrowserEnvironment') { | ||
} else if (fnName === '_mountImageIntoNode' || | ||
moduleName === 'ReactDOMIDOperations') { | ||
start = performanceNow(); | ||
@@ -214,2 +214,6 @@ rv = func.apply(this, args); | ||
if (typeof this._currentElement.type === 'string') { | ||
return func.apply(this, args); | ||
} | ||
var rootNodeID = fnName === 'mountComponent' ? | ||
@@ -248,5 +252,3 @@ args[0] : | ||
entry.displayNames[rootNodeID] = { | ||
current: typeof this._currentElement.type === 'string' ? | ||
this._currentElement.type : | ||
this.getName(), | ||
current: this.getName(), | ||
owner: this._currentElement._owner ? | ||
@@ -253,0 +255,0 @@ this._currentElement._owner.getName() : |
@@ -353,2 +353,3 @@ /** | ||
} | ||
this._previousStyleCopy = null; | ||
} else if (registrationNameModules.hasOwnProperty(propKey)) { | ||
@@ -355,0 +356,0 @@ deleteListener(this._rootNodeID, propKey); |
@@ -91,3 +91,5 @@ /** | ||
} | ||
options[0].selected = true; | ||
if (options.length) { | ||
options[0].selected = true; | ||
} | ||
} | ||
@@ -94,0 +96,0 @@ } |
@@ -68,3 +68,3 @@ /** | ||
// pretend to be DOM components. | ||
return !!(inst && inst.getDOMNode && inst.tagName); | ||
return !!(inst && inst.tagName && inst.getDOMNode); | ||
}, | ||
@@ -71,0 +71,0 @@ |
{ | ||
"name": "react", | ||
"description": "React is a JavaScript library for building user interfaces.", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "react" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2662237
70047