@samitouri / QOS-React-2 / commits / 6c7697a1a9

Remove unnecessary 'NA'-fallback for getTextContentAccessor()

Andreas Svensson committed Jan 14, 2014 at 11:41 UTC 6c7697a1a9d99577fcf764ba32226196f8f7cc59
2 files changed +2 -2
src/core/ReactDOMIDOperations.js
+1 -1
@@ -47,7 +47,7 @@ var INVALID_PROPERTY_ERRORS = {
47 * @type {string}
48 * @private
49 */
50 -var textContentAccessor = getTextContentAccessor() || 'NA';
50 +var textContentAccessor = getTextContentAccessor();
51
52 var useWhitespaceWorkaround;
53
src/dom/DOMChildrenOperations.js
+1 -1
@@ -30,7 +30,7 @@ var getTextContentAccessor = require('getTextContentAccessor');
30 * @type {string}
31 * @private
32 */
33 -var textContentAccessor = getTextContentAccessor() || 'NA';
33 +var textContentAccessor = getTextContentAccessor();
34
35 /**
36 * Inserts `childNode` as a child of `parentNode` at the `index`.