Skip to content

Commit 9970544

Browse files
sahrensFacebook Github Bot 9
authored and
Facebook Github Bot 9
committed
Fix some warnings.
Reviewed By: AaaChiuuu Differential Revision: D3206005 fb-gh-sync-id: 88c0cec6b88479fac747a7ef6a677df30c282089 fbshipit-source-id: 88c0cec6b88479fac747a7ef6a677df30c282089
1 parent 9d7b537 commit 9970544

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Libraries/AppRegistry/AppRegistry.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ if (__DEV__) {
2525
}
2626

2727
var runnables = {};
28+
var runCount = 1;
2829

2930
type ComponentProvider = () => ReactClass<any>;
3031

@@ -88,7 +89,7 @@ var AppRegistry = {
8889
', performance optimizations are ' + (__DEV__ ? 'OFF' : 'ON');
8990
console.log(msg);
9091
BugReporting.init();
91-
BugReporting.addSource('AppRegistry.runApplication', () => msg);
92+
BugReporting.addSource('AppRegistry.runApplication' + runCount++, () => msg);
9293
invariant(
9394
runnables[appKey] && runnables[appKey].run,
9495
'Application ' + appKey + ' has not been registered. This ' +

Libraries/Components/Touchable/Touchable.js

-3
Original file line numberDiff line numberDiff line change
@@ -756,8 +756,5 @@ var Touchable = {
756756
);
757757
}
758758
};
759-
if (Touchable.TOUCH_TARGET_DEBUG) {
760-
console.warn('Touchable.TOUCH_TARGET_DEBUG is enabled');
761-
}
762759

763760
module.exports = Touchable;

0 commit comments

Comments
 (0)