Remove ReactDOMNodeCache and getDOMNodeID.

These modules have been superseded by `ReactID`. Since they were only used
internally, and I have updated all client code that previously assumed
their existence, I believe they can be dropped for good.
This commit is contained in:
CommitSyncScript
2013-06-25 13:58:43 -07:00
committed by Paul O’Shannessy
parent 1c40dde782
commit 1d65f81b16
2 changed files with 0 additions and 53 deletions
-26
View File
@@ -1,26 +0,0 @@
/**
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactDOMNodeCache
* @typechecks
*/
"use strict";
var ReactID = require('ReactID');
exports.getNodeByID = ReactID.getNode;
exports.purgeID = ReactID.purgeID;
exports.purgeEntireCache = ReactID.purgeEntireCache;
-27
View File
@@ -1,27 +0,0 @@
/**
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule getDOMNodeID
* @typechecks
*/
"use strict";
var ReactID = require('ReactID');
function getDOMNodeID(domNode) {
return ReactID.getID(domNode);
}
module.exports = getDOMNodeID;