Remove unused updatePropertiesByID
Ben Alpert committed
Dec 3, 2013 at 19:22 UTC
9d443542f94e5dac7aa903952fa4e3b8280b8d91
1 file changed
-19
src/core/ReactDOMIDOperations.js
-19
@@ -102,25 +102,6 @@ var ReactDOMIDOperations = {
102
DOMPropertyOperations.deleteValueForProperty(node, name, value);
103
},
104
105
- /**
106
- * This should almost never be used instead of `updatePropertyByID()` due to
107
- * the extra object allocation required by the API. That said, this is useful
108
- * for batching up several operations across worker thread boundaries.
109
- *
110
- * @param {string} id ID of the node to update.
111
- * @param {object} properties A mapping of valid property names.
112
- * @internal
113
- * @see {ReactDOMIDOperations.updatePropertyByID}
114
- */
115
- updatePropertiesByID: function(id, properties) {
116
- for (var name in properties) {
117
- if (!properties.hasOwnProperty(name)) {
118
- continue;
119
- }
120
- ReactDOMIDOperations.updatePropertiesByID(id, name, properties[name]);
121
- }
122
- },
123
-
105
/**
106
* Updates a DOM node with new style values. If a value is specified as '',
107
* the corresponding style property will be unset.