Skip to content

Commit 7e2d48c

Browse files
author
Spike Brehm
authored
Merge pull request react-native-maps#511 from spikebrehm/remove-nativemethodsmixin
Remove unused `NativeMethodsMixin` for compat with RN 0.32
2 parents 310f197 + e5e41a3 commit 7e2d48c

File tree

6 files changed

+0
-18
lines changed

6 files changed

+0
-18
lines changed

components/MapCallout.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
import React, { PropTypes } from 'react';
22
import {
33
View,
4-
NativeMethodsMixin,
54
requireNativeComponent,
65
StyleSheet,
76
} from 'react-native';
87

98
// eslint-disable-next-line react/prefer-es6-class
109
const MapCallout = React.createClass({
11-
mixins: [NativeMethodsMixin],
12-
1310
propTypes: {
1411
...View.propTypes,
1512
tooltip: PropTypes.bool,

components/MapCircle.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
import React, { PropTypes } from 'react';
22
import {
33
View,
4-
NativeMethodsMixin,
54
requireNativeComponent,
65
} from 'react-native';
76

87
// eslint-disable-next-line react/prefer-es6-class
98
const MapCircle = React.createClass({
10-
mixins: [NativeMethodsMixin],
11-
129
propTypes: {
1310
...View.propTypes,
1411

components/MapMarker.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, { PropTypes } from 'react';
22
import {
33
View,
4-
NativeMethodsMixin,
54
requireNativeComponent,
65
StyleSheet,
76
Platform,
@@ -14,8 +13,6 @@ const resolveAssetSource = require('react-native/Libraries/Image/resolveAssetSou
1413

1514
// eslint-disable-next-line react/prefer-es6-class
1615
const MapMarker = React.createClass({
17-
mixins: [NativeMethodsMixin],
18-
1916
viewConfig: {
2017
uiViewClassName: 'AIRMapMarker',
2118
validAttributes: {

components/MapPolygon.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
import React, { PropTypes } from 'react';
22
import {
33
View,
4-
NativeMethodsMixin,
54
requireNativeComponent,
65
} from 'react-native';
76

87
// eslint-disable-next-line react/prefer-es6-class
98
const MapPolygon = React.createClass({
10-
mixins: [NativeMethodsMixin],
11-
129
propTypes: {
1310
...View.propTypes,
1411

components/MapPolyline.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
import React, { PropTypes } from 'react';
22
import {
33
View,
4-
NativeMethodsMixin,
54
requireNativeComponent,
65
} from 'react-native';
76

87
// eslint-disable-next-line react/prefer-es6-class
98
const MapPolyline = React.createClass({
10-
mixins: [NativeMethodsMixin],
11-
129
propTypes: {
1310
...View.propTypes,
1411

components/MapView.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, { PropTypes } from 'react';
22
import {
33
EdgeInsetsPropType,
4-
NativeMethodsMixin,
54
Platform,
65
View,
76
Animated,
@@ -18,8 +17,6 @@ import MapCallout from './MapCallout';
1817

1918
// eslint-disable-next-line react/prefer-es6-class
2019
const MapView = React.createClass({
21-
mixins: [NativeMethodsMixin],
22-
2320
viewConfig: {
2421
uiViewClassName: 'AIRMap',
2522
validAttributes: {

0 commit comments

Comments
 (0)