mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Don't include warning in production (#10946)
Fixes a size regression I introduced in #10802.
This commit is contained in:
@@ -24,7 +24,10 @@ var SyntheticUIEvent = require('SyntheticUIEvent');
|
||||
var SyntheticWheelEvent = require('SyntheticWheelEvent');
|
||||
|
||||
var getEventCharCode = require('getEventCharCode');
|
||||
var warning = require('fbjs/lib/warning');
|
||||
|
||||
if (__DEV__) {
|
||||
var warning = require('fbjs/lib/warning');
|
||||
}
|
||||
|
||||
import type {TopLevelTypes} from 'BrowserEventConstants';
|
||||
import type {
|
||||
|
||||
Reference in New Issue
Block a user