Fabric: Debug Pretty-printing is now debug only feature

Summary: That should save us some app size kilobytes.

Reviewed By: mdvacca

Differential Revision: D10081499

fbshipit-source-id: 2b950768c609b412f9be332c22b6b1e96657e5ea
This commit is contained in:
Valentin Shergin
2018-09-28 10:24:38 -07:00
committed by Facebook Github Bot
parent 02ad56f541
commit e3b61f53bd
39 changed files with 102 additions and 31 deletions

View File

@@ -81,6 +81,7 @@ bool AttributedString::operator!=(const AttributedString &rhs) const {
#pragma mark - DebugStringConvertible
#if RN_DEBUG_STRING_CONVERTIBLE
SharedDebugStringConvertibleList AttributedString::getDebugChildren() const {
auto list = SharedDebugStringConvertibleList {};
@@ -103,6 +104,7 @@ SharedDebugStringConvertibleList AttributedString::getDebugChildren() const {
return list;
}
#endif
} // namespace react
} // namespace facebook