react-google-maps
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -0,1 +1,10 @@ | ||
<a name"1.7.1"></a> | ||
### 1.7.1 (2015-07-01) | ||
#### Bug Fixes | ||
* **src:** eslint rules ([012faada](https://github.com/tomchentw/react-google-maps/commit/012faada)) | ||
## 1.7.0 (2015-06-19) | ||
@@ -2,0 +11,0 @@ |
@@ -11,3 +11,3 @@ "use strict"; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
@@ -42,2 +42,4 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
function InfoBox() { | ||
_classCallCheck(this, InfoBox); | ||
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { | ||
@@ -47,4 +49,2 @@ args[_key] = arguments[_key]; | ||
_classCallCheck(this, InfoBox); | ||
_get(Object.getPrototypeOf(InfoBox.prototype), "constructor", this).apply(this, args); | ||
@@ -60,3 +60,2 @@ this.state = {}; | ||
var props = this.props; | ||
/*eslint-disable no-unused-vars */ | ||
var googleMapsApi = props.googleMapsApi; | ||
@@ -66,3 +65,2 @@ | ||
/*eslint-enable no-unused-vars */ | ||
var instance = this.state.instance; | ||
@@ -69,0 +67,0 @@ |
@@ -7,2 +7,4 @@ "use strict"; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -26,5 +28,3 @@ | ||
if (_SimpleChildComponent != null) { | ||
_SimpleChildComponent.apply(this, arguments); | ||
} | ||
_get(Object.getPrototypeOf(Circle.prototype), "constructor", this).apply(this, arguments); | ||
} | ||
@@ -31,0 +31,0 @@ |
@@ -7,2 +7,4 @@ "use strict"; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -30,5 +32,3 @@ | ||
if (_SimpleChildComponent != null) { | ||
_SimpleChildComponent.apply(this, arguments); | ||
} | ||
_get(Object.getPrototypeOf(DirectionsRenderer.prototype), "constructor", this).apply(this, arguments); | ||
} | ||
@@ -35,0 +35,0 @@ |
@@ -7,2 +7,4 @@ "use strict"; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -26,5 +28,3 @@ | ||
if (_SimpleChildComponent != null) { | ||
_SimpleChildComponent.apply(this, arguments); | ||
} | ||
_get(Object.getPrototypeOf(DrawingManager.prototype), "constructor", this).apply(this, arguments); | ||
} | ||
@@ -31,0 +31,0 @@ |
@@ -11,3 +11,3 @@ "use strict"; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
@@ -30,4 +30,2 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
/*eslint-disable no-unused-vars */ | ||
var _internalsVirtualContainer = require("./internals/VirtualContainer"); | ||
@@ -37,4 +35,2 @@ | ||
/*eslint-enable no-unused-vars */ | ||
var _internalsExposeGetters = require("./internals/exposeGetters"); | ||
@@ -56,2 +52,4 @@ | ||
function GoogleMaps() { | ||
_classCallCheck(this, GoogleMaps); | ||
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { | ||
@@ -61,4 +59,2 @@ args[_key] = arguments[_key]; | ||
_classCallCheck(this, GoogleMaps); | ||
_get(Object.getPrototypeOf(GoogleMaps.prototype), "constructor", this).apply(this, args); | ||
@@ -119,3 +115,2 @@ this.state = {}; | ||
// googleMapsApi can be async loaded | ||
/*eslint-disable no-unused-vars */ | ||
var containerProps = props.containerProps; | ||
@@ -127,3 +122,2 @@ var googleMapsApi = props.googleMapsApi; | ||
/*eslint-enable no-unused-vars */ | ||
var instance = this.state.instance; | ||
@@ -130,0 +124,0 @@ |
@@ -11,3 +11,3 @@ "use strict"; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
@@ -38,5 +38,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
if (_SimpleChildComponent != null) { | ||
_SimpleChildComponent.apply(this, arguments); | ||
} | ||
_get(Object.getPrototypeOf(InfoWindow.prototype), "constructor", this).apply(this, arguments); | ||
} | ||
@@ -43,0 +41,0 @@ |
@@ -9,2 +9,4 @@ "use strict"; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
exports["default"] = createOverlayViewProxy; | ||
@@ -48,5 +50,3 @@ | ||
if (_googleMapsApi$OverlayView != null) { | ||
_googleMapsApi$OverlayView.apply(this, arguments); | ||
} | ||
_get(Object.getPrototypeOf(OverlayViewProxy.prototype), "constructor", this).apply(this, arguments); | ||
} | ||
@@ -53,0 +53,0 @@ |
@@ -9,3 +9,3 @@ "use strict"; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
@@ -35,2 +35,4 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
function EventComponent() { | ||
_classCallCheck(this, EventComponent); | ||
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { | ||
@@ -40,4 +42,2 @@ args[_key] = arguments[_key]; | ||
_classCallCheck(this, EventComponent); | ||
_get(Object.getPrototypeOf(EventComponent.prototype), "constructor", this).apply(this, args); | ||
@@ -44,0 +44,0 @@ |
@@ -11,3 +11,3 @@ "use strict"; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
@@ -53,2 +53,4 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
function SimpleChildComponent() { | ||
_classCallCheck(this, SimpleChildComponent); | ||
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { | ||
@@ -58,4 +60,2 @@ args[_key] = arguments[_key]; | ||
_classCallCheck(this, SimpleChildComponent); | ||
_get(Object.getPrototypeOf(SimpleChildComponent.prototype), "constructor", this).apply(this, args); | ||
@@ -62,0 +62,0 @@ this.state = {}; |
@@ -9,2 +9,4 @@ "use strict"; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -26,5 +28,3 @@ | ||
if (_React$Component != null) { | ||
_React$Component.apply(this, arguments); | ||
} | ||
_get(Object.getPrototypeOf(VirtualContainer.prototype), "constructor", this).apply(this, arguments); | ||
} | ||
@@ -31,0 +31,0 @@ |
@@ -9,2 +9,4 @@ "use strict"; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -38,5 +40,3 @@ | ||
if (_SimpleChildComponent != null) { | ||
_SimpleChildComponent.apply(this, arguments); | ||
} | ||
_get(Object.getPrototypeOf(Marker.prototype), "constructor", this).apply(this, arguments); | ||
} | ||
@@ -43,0 +43,0 @@ |
@@ -11,3 +11,3 @@ "use strict"; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
@@ -44,5 +44,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
if (_SimpleChildComponent != null) { | ||
_SimpleChildComponent.apply(this, arguments); | ||
} | ||
_get(Object.getPrototypeOf(OverlayView.prototype), "constructor", this).apply(this, arguments); | ||
} | ||
@@ -49,0 +47,0 @@ |
@@ -7,2 +7,4 @@ "use strict"; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -30,5 +32,3 @@ | ||
if (_SimpleChildComponent != null) { | ||
_SimpleChildComponent.apply(this, arguments); | ||
} | ||
_get(Object.getPrototypeOf(Polygon.prototype), "constructor", this).apply(this, arguments); | ||
} | ||
@@ -35,0 +35,0 @@ |
@@ -7,2 +7,4 @@ "use strict"; | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -30,5 +32,3 @@ | ||
if (_SimpleChildComponent != null) { | ||
_SimpleChildComponent.apply(this, arguments); | ||
} | ||
_get(Object.getPrototypeOf(Polyline.prototype), "constructor", this).apply(this, arguments); | ||
} | ||
@@ -35,0 +35,0 @@ |
{ | ||
"__template__gist__": "https://gist.github.com/tomchentw/368a93bb748ad9d576f1#file-package-json", | ||
"name": "react-google-maps", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "React.js Google Maps integration component", | ||
@@ -15,6 +15,4 @@ "main": "lib/index.js", | ||
"build": "npm run lint && npm run clean && babel --stage=1 src --out-dir lib", | ||
"build_client": "cd examples/gh-pages && npm i && npm run build_client", | ||
"dev": "cd examples/gh-pages && npm i && npm run dev", | ||
"lint": "eslint src", | ||
"test": "npm run lint && jest" | ||
"test": "npm run lint" | ||
}, | ||
@@ -62,4 +60,4 @@ "repository": { | ||
"eslint": "^0.21.2", | ||
"jest-cli": "^0.4.0", | ||
"tomchentw-npm-dev": "^1.2.0" | ||
"eslint-plugin-react": "^2.5.2", | ||
"tomchentw-npm-dev": "^3.0.0" | ||
}, | ||
@@ -73,16 +71,3 @@ "dependencies": { | ||
"react": "^0.13.0" | ||
}, | ||
"jest": { | ||
"scriptPreprocessor": "<rootDir>/node_modules/babel-jest", | ||
"testPathDirs": [ | ||
"<rootDir>/src" | ||
], | ||
"testPathIgnorePatterns": [ | ||
"/node_modules/", | ||
"<rootDir>/node_modules/" | ||
], | ||
"unmockedModulePathPatterns": [ | ||
"<rootDir>/node_modules/react" | ||
] | ||
} | ||
} |
@@ -24,8 +24,37 @@ # react-google-maps [![Travis CI][travis-image]][travis-url] [![Quality][codeclimate-image]][codeclimate-url] [![Coverage][codeclimate-coverage-image]][codeclimate-coverage-url] [![Dependencies][gemnasium-image]][gemnasium-url] [![Gitter][gitter-image]][gitter-url] | ||
### Development | ||
## Development | ||
First, clone the project. | ||
```shell | ||
git clone ... | ||
``` | ||
### With Docker | ||
Install `docker@^1.6.2`, `docker-compose@^1.3.0` and optionally `boot2docker@^1.6.2`. Then, | ||
```shell | ||
docker-compose run --service-ports web | ||
``` | ||
Then open [http://192.168.59.103:8080](http://192.168.59.103:8080). | ||
**192.168.59.103** is actually your ip from `boot2docker ip`. | ||
If you change code in your local, you'll need to rebuild the image to make changes happen. | ||
```shell | ||
docker-compose rebuild | ||
``` | ||
### With Mac | ||
Install `node@^0.12.4`. Then, | ||
```shell | ||
npm install | ||
npm run dev | ||
cd examples/gh-pages | ||
npm install | ||
npm start | ||
``` | ||
@@ -32,0 +61,0 @@ |
@@ -16,5 +16,3 @@ import React from "react"; | ||
const props = this.props; | ||
/*eslint-disable no-unused-vars */ | ||
const {googleMapsApi, ...googleMapsConfig} = props; | ||
/*eslint-enable no-unused-vars */ | ||
let {instance} = this.state; | ||
@@ -46,3 +44,3 @@ | ||
...SimpleChildComponent.propTypes, | ||
anchor: PropTypes.object | ||
anchor: PropTypes.object, | ||
}; | ||
@@ -49,0 +47,0 @@ |
import React from "react"; | ||
import EventComponent from "./internals/EventComponent"; | ||
/*eslint-disable no-unused-vars */ | ||
import VirtualContainer from "./internals/VirtualContainer"; | ||
/*eslint-enable no-unused-vars */ | ||
import exposeGetters from "./internals/exposeGetters"; | ||
@@ -57,5 +55,3 @@ import createRegisterEvents from "./internals/createRegisterEvents"; | ||
// googleMapsApi can be async loaded | ||
/*eslint-disable no-unused-vars */ | ||
const {containerProps, googleMapsApi, bounds, ...googleMapsConfig} = props; | ||
/*eslint-enable no-unused-vars */ | ||
var {instance} = this.state; | ||
@@ -119,3 +115,3 @@ | ||
containerProps: PropTypes.object.isRequired, | ||
bounds: React.PropTypes.object | ||
bounds: React.PropTypes.object, | ||
}; | ||
@@ -122,0 +118,0 @@ |
@@ -41,9 +41,9 @@ import React from "react"; | ||
OverlayView.OVERLAY_LAYER, | ||
OverlayView.OVERLAY_MOUSE_TARGET | ||
OverlayView.OVERLAY_MOUSE_TARGET, | ||
]), | ||
getPixelPositionOffset: React.PropTypes.func | ||
getPixelPositionOffset: React.PropTypes.func, | ||
}; | ||
OverlayView.defaultProps = { | ||
mapPane: OverlayView.OVERLAY_LAYER | ||
mapPane: OverlayView.OVERLAY_LAYER, | ||
}; | ||
@@ -50,0 +50,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93476
95
1537