diff --git a/Libraries/AppRegistry/AppRegistry.js b/Libraries/AppRegistry/AppRegistry.js index 5d6d87ed7..035c69c49 100644 --- a/Libraries/AppRegistry/AppRegistry.js +++ b/Libraries/AppRegistry/AppRegistry.js @@ -25,6 +25,7 @@ if (__DEV__) { } var runnables = {}; +var runCount = 1; type ComponentProvider = () => ReactClass; @@ -88,7 +89,7 @@ var AppRegistry = { ', performance optimizations are ' + (__DEV__ ? 'OFF' : 'ON'); console.log(msg); BugReporting.init(); - BugReporting.addSource('AppRegistry.runApplication', () => msg); + BugReporting.addSource('AppRegistry.runApplication' + runCount++, () => msg); invariant( runnables[appKey] && runnables[appKey].run, 'Application ' + appKey + ' has not been registered. This ' + diff --git a/Libraries/Components/Touchable/Touchable.js b/Libraries/Components/Touchable/Touchable.js index d465bfe04..412c77a05 100644 --- a/Libraries/Components/Touchable/Touchable.js +++ b/Libraries/Components/Touchable/Touchable.js @@ -756,8 +756,5 @@ var Touchable = { ); } }; -if (Touchable.TOUCH_TARGET_DEBUG) { - console.warn('Touchable.TOUCH_TARGET_DEBUG is enabled'); -} module.exports = Touchable;