@samitouri / QOS-React-2 / commits / 1d65f81b16
Fork 0

The library for web and native user interfaces.

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.

CommitSyncScript committed Jun 25, 2013 at 13:56 UTC 1d65f81b1617e339f36fad285bc45f805bb899f2
2 files changed -53
src/core/ReactDOMNodeCache.js deleted
-26
@@ -1,26 +0,0 @@
1 -/**
2 - * Copyright 2013 Facebook, Inc.
3 - *
4 - * Licensed under the Apache License, Version 2.0 (the "License");
5 - * you may not use this file except in compliance with the License.
6 - * You may obtain a copy of the License at
7 - *
8 - * http://www.apache.org/licenses/LICENSE-2.0
9 - *
10 - * Unless required by applicable law or agreed to in writing, software
11 - * distributed under the License is distributed on an "AS IS" BASIS,
12 - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 - * See the License for the specific language governing permissions and
14 - * limitations under the License.
15 - *
16 - * @providesModule ReactDOMNodeCache
17 - * @typechecks
18 - */
19 -
20 -"use strict";
21 -
22 -var ReactID = require('ReactID');
23 -
24 -exports.getNodeByID = ReactID.getNode;
25 -exports.purgeID = ReactID.purgeID;
26 -exports.purgeEntireCache = ReactID.purgeEntireCache;
src/dom/getDOMNodeID.js deleted
-27
@@ -1,27 +0,0 @@
1 -/**
2 - * Copyright 2013 Facebook, Inc.
3 - *
4 - * Licensed under the Apache License, Version 2.0 (the "License");
5 - * you may not use this file except in compliance with the License.
6 - * You may obtain a copy of the License at
7 - *
8 - * http://www.apache.org/licenses/LICENSE-2.0
9 - *
10 - * Unless required by applicable law or agreed to in writing, software
11 - * distributed under the License is distributed on an "AS IS" BASIS,
12 - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 - * See the License for the specific language governing permissions and
14 - * limitations under the License.
15 - *
16 - * @providesModule getDOMNodeID
17 - * @typechecks
18 - */
19 -
20 -"use strict";
21 -
22 -var ReactID = require('ReactID');
23 -
24 -function getDOMNodeID(domNode) {
25 - return ReactID.getID(domNode);
26 -}
27 -module.exports = getDOMNodeID;