Skip to content

Commit

Permalink
fix(src): replace fbjs dependencies with can-use-dom
Browse files Browse the repository at this point in the history
* Thanks @idolize to point this out.
* Closes #134
  • Loading branch information
tomchentw committed Oct 15, 2015
1 parent c001146 commit 43250b3
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -79,7 +79,7 @@
"tomchentw-npm-dev": "^3.1.0"
},
"dependencies": {
"fbjs": "^0.3.1",
"can-use-dom": "^0.1.0",
"google-maps-infobox": "^1.1.13",
"invariant": "^2.1.1"
},
Expand Down
4 changes: 2 additions & 2 deletions src/Circle.js
Expand Up @@ -4,8 +4,8 @@ import {
} from "react";

import {
canUseDOM,
} from "fbjs/lib/ExecutionEnvironment";
default as canUseDOM,
} from "can-use-dom";

import {
default as CircleCreator,
Expand Down
4 changes: 2 additions & 2 deletions src/DirectionsRenderer.js
Expand Up @@ -4,8 +4,8 @@ import {
} from "react";

import {
canUseDOM,
} from "fbjs/lib/ExecutionEnvironment";
default as canUseDOM,
} from "can-use-dom";

import {
default as DirectionsRendererCreator,
Expand Down
4 changes: 2 additions & 2 deletions src/DrawingManager.js
Expand Up @@ -4,8 +4,8 @@ import {
} from "react";

import {
canUseDOM,
} from "fbjs/lib/ExecutionEnvironment";
default as canUseDOM,
} from "can-use-dom";

import {
default as DrawingManagerCreator,
Expand Down
4 changes: 2 additions & 2 deletions src/InfoWindow.js
Expand Up @@ -4,8 +4,8 @@ import {
} from "react";

import {
canUseDOM,
} from "fbjs/lib/ExecutionEnvironment";
default as canUseDOM,
} from "can-use-dom";

import {
default as InfoWindowCreator,
Expand Down
4 changes: 2 additions & 2 deletions src/Marker.js
Expand Up @@ -4,8 +4,8 @@ import {
} from "react";

import {
canUseDOM,
} from "fbjs/lib/ExecutionEnvironment";
default as canUseDOM,
} from "can-use-dom";

import {
default as MarkerCreator,
Expand Down
4 changes: 2 additions & 2 deletions src/OverlayView.js
Expand Up @@ -4,8 +4,8 @@ import {
} from "react";

import {
canUseDOM,
} from "fbjs/lib/ExecutionEnvironment";
default as canUseDOM,
} from "can-use-dom";

import {
default as OverlayViewCreator,
Expand Down
4 changes: 2 additions & 2 deletions src/Polygon.js
Expand Up @@ -4,8 +4,8 @@ import {
} from "react";

import {
canUseDOM,
} from "fbjs/lib/ExecutionEnvironment";
default as canUseDOM,
} from "can-use-dom";

import {
default as PolygonCreator,
Expand Down
4 changes: 2 additions & 2 deletions src/Polyline.js
Expand Up @@ -4,8 +4,8 @@ import {
} from "react";

import {
canUseDOM,
} from "fbjs/lib/ExecutionEnvironment";
default as canUseDOM,
} from "can-use-dom";

import {
default as PolylineCreator,
Expand Down
4 changes: 2 additions & 2 deletions src/Rectangle.js
Expand Up @@ -4,8 +4,8 @@ import {
} from "react";

import {
canUseDOM,
} from "fbjs/lib/ExecutionEnvironment";
default as canUseDOM,
} from "can-use-dom";

import {
default as RectangleCreator,
Expand Down
4 changes: 2 additions & 2 deletions src/SearchBox.js
Expand Up @@ -4,8 +4,8 @@ import {
} from "react";

import {
canUseDOM,
} from "fbjs/lib/ExecutionEnvironment";
default as canUseDOM,
} from "can-use-dom";

import {
default as SearchBoxCreator,
Expand Down
4 changes: 2 additions & 2 deletions src/_Skeleton.js
Expand Up @@ -4,8 +4,8 @@ import {
} from "react";

import {
canUseDOM,
} from "fbjs/lib/ExecutionEnvironment";
default as canUseDOM,
} from "can-use-dom";

import {
default as SkeletonCreator,
Expand Down
4 changes: 2 additions & 2 deletions src/addons/InfoBox.js
Expand Up @@ -4,8 +4,8 @@ import {
} from "react";

import {
canUseDOM,
} from "fbjs/lib/ExecutionEnvironment";
default as canUseDOM,
} from "can-use-dom";

import {
default as InfoBoxCreator,
Expand Down

0 comments on commit 43250b3

Please sign in to comment.