Skip to content

Commit

Permalink
Addressing more lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hkal committed Jun 20, 2016
1 parent 0e15866 commit fba590a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/renderers/shared/fiber/ReactChildFiber.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ function createFirstChild(parent, existingChild, newChildren) {
}
}

exports.reconcileChildFibers = function(parent : Fiber, currentFirstChild : ?Fiber, newChildren : ReactNodeList) : ?Fiber {
exports.reconcileChildFibers = function(
parent : Fiber,
currentFirstChild : ?Fiber,
newChildren : ReactNodeList
) : ?Fiber {
return createFirstChild(parent, currentFirstChild, newChildren);
};
5 changes: 4 additions & 1 deletion src/renderers/shared/fiber/ReactFiberBeginWork.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ function updateFunctionalComponent(current, workInProgress) {
}

function updateHostComponent(current, workInProgress) {
console.log('host component', workInProgress.type, typeof workInProgress.input.children === 'string' ? workInProgress.input.children : '');
console.log(
'host component',
workInProgress.type,
typeof workInProgress.input.children === 'string' ? workInProgress.input.children : '');

var nextChildren = workInProgress.input.children;
reconcileChildren(current, workInProgress, nextChildren);
Expand Down

0 comments on commit fba590a

Please sign in to comment.