Skip to content

Commit

Permalink
Clean up redundunt code
Browse files Browse the repository at this point in the history
  • Loading branch information
chansuke committed Oct 9, 2018
1 parent 9542210 commit c4eeaf2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions webview-bridge/index.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
'use strict';

var React = require('react');
React.createClass = require('create-react-class');
var PropTypes = require('prop-types');
var ReactNative = require('react-native');
var createReactClass = require('create-react-class');
Expand Down Expand Up @@ -234,4 +233,4 @@ var styles = StyleSheet.create({
},
});

module.exports = WebViewBridge;
module.exports = WebViewBridge;
2 changes: 0 additions & 2 deletions webview-bridge/index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
'use strict';

var React = require('react');
React.createClass = require('create-react-class');
var PropTypes = require('prop-types');
var ReactNative = require('react-native');
var createReactClass = require('create-react-class');
Expand All @@ -37,7 +36,6 @@ var {
WebViewBridgeManager,
},
} = ReactNative;
var { PropTypes } = PropTypes;

var BGWASH = 'rgba(255,255,255,0.8)';
var RCT_WEBVIEWBRIDGE_REF = 'webviewbridge';
Expand Down

0 comments on commit c4eeaf2

Please sign in to comment.