Skip to content

Commit

Permalink
Merge pull request #278 from alinz/hotfix/delete-redundunt-code
Browse files Browse the repository at this point in the history
Clean up redundunt code
  • Loading branch information
chansuke authored Oct 11, 2018
2 parents 9542210 + f1e6ccd commit 45e0254
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 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 All @@ -37,7 +36,6 @@ var {
WebViewBridgeManager
}
} = ReactNative;
var { PropTypes } = PropTypes;

var RCT_WEBVIEWBRIDGE_REF = 'webviewbridge';

Expand Down Expand Up @@ -234,4 +232,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 45e0254

Please sign in to comment.