Permalink
Browse files

Removed unused core from Image.android.js

Summary: Trivial.

Reviewed By: sahrens

Differential Revision: D6721449

fbshipit-source-id: 6ae001d4161167e0e86b1dc134c1621b3974b489
  • Loading branch information...
shergin authored and facebook-github-bot committed Jan 15, 2018
1 parent 831a1bb commit ce3146a6f3162141c7dc06d2c91ec291d3756a92
Showing with 0 additions and 17 deletions.
  1. +0 −17 Libraries/Image/Image.android.js
@@ -19,11 +19,9 @@ var NativeModules = require('NativeModules');
var React = require('React');
var PropTypes = require('prop-types');
var ReactNativeViewAttributes = require('ReactNativeViewAttributes');
var Set = require('Set');
var StyleSheet = require('StyleSheet');
var StyleSheetPropType = require('StyleSheetPropType');
var ViewPropTypes = require('ViewPropTypes');
var ViewStylePropTypes = require('ViewStylePropTypes');
var createReactClass = require('create-react-class');
var flattenStyle = require('flattenStyle');
@@ -63,21 +61,6 @@ function generateRequestId() {
* More example code in ImageExample.js
*/
var ImageViewAttributes = merge(ReactNativeViewAttributes.UIView, {
src: true,
loadingIndicatorSrc: true,
resizeMethod: true,
resizeMode: true,
progressiveRenderingEnabled: true,
fadeDuration: true,
shouldNotifyLoadEvents: true,
});
var ViewStyleKeys = new Set(Object.keys(ViewStylePropTypes));
var ImageSpecificStyleKeys = new Set(
Object.keys(ImageStylePropTypes).filter(x => !ViewStyleKeys.has(x)),
);
var Image = createReactClass({
displayName: 'Image',
propTypes: {

0 comments on commit ce3146a

Please sign in to comment.