Update core libraries for React 0.14 final

Summary: All minor changes since we were already on the beta: most notable is that destructors are required in pooling to help prevent memory leaks.

public

Reviewed By: sebmarkbage

Differential Revision: D2608692

fb-gh-sync-id: acdad38768f7f48c0f0e7e44cbff6f0db316f4ca
This commit is contained in:
Ben Alpert
2015-11-06 19:50:10 -08:00
committed by facebook-github-bot-7
parent 3b9cc4c2a5
commit bbee3c6f60
8 changed files with 87 additions and 206 deletions

View File

@@ -21,6 +21,11 @@ function Position(left, top) {
this.top = top;
}
Position.prototype.destructor = function() {
this.left = null;
this.top = null;
};
PooledClass.addPoolingTo(Position, twoArgumentPooler);
module.exports = Position;