Skip to content

Commit

Permalink
fix(src): switch to findDOMNode from "react-dom"
Browse files Browse the repository at this point in the history
* Original commit: d177b45
* Original author @zillding
* Closes #132
* Ref #129
  • Loading branch information
tomchentw committed Oct 14, 2015
1 parent 305c52a commit 593b1c8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/GoogleMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ import {
default as React,
PropTypes,
Component,
findDOMNode,
} from "react";

import {
findDOMNode,
} from "react-dom";

import {
default as GoogleMapHolder,
mapDefaultPropTypes,
Expand Down Expand Up @@ -52,7 +55,7 @@ export default class GoogleMap extends Component {
//
// Public APIs - Use this carefully
// See discussion in https://github.com/tomchentw/react-google-maps/issues/62
//
//
// https://developers.google.com/maps/documentation/javascript/3.exp/reference#Map
//
// [].map.call($0.querySelectorAll("tr>td>code"), function(it){ return it.textContent; }).filter(function(it){ return !it.match(/^get/) && !it.match(/^set/) && !it.match(/Map$/); })
Expand Down

0 comments on commit 593b1c8

Please sign in to comment.