Skip to content

Move line to within DEV block#10316

Merged
trueadm merged 2 commits intofacebook:masterfrom
trueadm:fix_unreferenced_dev-2
Jul 28, 2017
Merged

Move line to within DEV block#10316
trueadm merged 2 commits intofacebook:masterfrom
trueadm:fix_unreferenced_dev-2

Conversation

@trueadm
Copy link
Copy Markdown
Contributor

@trueadm trueadm commented Jul 27, 2017

A follow up from #10315

Copy link
Copy Markdown
Contributor

@sebmarkbage sebmarkbage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this should move up to the DEV block above, not below.

@@ -27,8 +27,6 @@ if (__DEV__) {
var {getCurrentFiberStackAddendum} = require('ReactDebugCurrentFiber');
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It needs to be in this DEV block so that it is reused among the closures.

@trueadm trueadm merged commit ca46c52 into facebook:master Jul 28, 2017
@trueadm trueadm deleted the fix_unreferenced_dev-2 branch July 28, 2017 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants