Skip to content

Commit

Permalink
Remove unnecessary 'NA'-fallback for getTextContentAccessor()
Browse files Browse the repository at this point in the history
  • Loading branch information
syranide committed Jan 14, 2014
1 parent 3d47177 commit 6c7697a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/ReactDOMIDOperations.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var INVALID_PROPERTY_ERRORS = {
* @type {string}
* @private
*/
var textContentAccessor = getTextContentAccessor() || 'NA';
var textContentAccessor = getTextContentAccessor();

var useWhitespaceWorkaround;

Expand Down
2 changes: 1 addition & 1 deletion src/dom/DOMChildrenOperations.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var getTextContentAccessor = require('getTextContentAccessor');
* @type {string}
* @private
*/
var textContentAccessor = getTextContentAccessor() || 'NA';
var textContentAccessor = getTextContentAccessor();

/**
* Inserts `childNode` as a child of `parentNode` at the `index`.
Expand Down

0 comments on commit 6c7697a

Please sign in to comment.