Skip to content

Commit

Permalink
Remove unused import in ReactDOMComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
nhunzaker committed Apr 7, 2017
1 parent 270eb94 commit 7a64e48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/renderers/dom/stack/client/ReactDOMComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ var ReactDOMSelect = require('ReactDOMSelect');
var ReactDOMTextarea = require('ReactDOMTextarea');
var ReactInstrumentation = require('ReactInstrumentation');
var ReactMultiChild = require('ReactMultiChild');
var ReactServerRenderingTransaction = require('ReactServerRenderingTransaction');

var emptyFunction = require('fbjs/lib/emptyFunction');
var escapeTextContentForBrowser = require('escapeTextContentForBrowser');
Expand Down Expand Up @@ -151,7 +150,7 @@ function ensureListeners() {

for (var propKey in props) {
if (registrationNameModules.hasOwnProperty(propKey)) {
if (!!props[propKey]) {
if (props[propKey]) {
// Note: we access getNode in the loop here for some
// additional bulletproofing for invalidly nested DOM
// elements. Invalidly nested elements with event listeners
Expand Down

0 comments on commit 7a64e48

Please sign in to comment.