Skip to content

Commit

Permalink
fix(leaflet): update leaflet
Browse files Browse the repository at this point in the history
Remove need to import leaflet css from unpkg
  • Loading branch information
landonreed committed Aug 30, 2018
1 parent 9dca466 commit 4dee7b7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/index.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

@import url(node_modules/font-awesome/css/font-awesome.css);
@import url(https://unpkg.com/leaflet@1.0.3/dist/leaflet.css);
@import url(node_modules/leaflet/dist/leaflet.css);

@import url(node_modules/bootstrap/dist/css/bootstrap.min.css);
@import url(node_modules/react-bootstrap-table/dist/react-bootstrap-table.min.css);
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"isomorphic-fetch": "^2.2.1",
"jszip": "^3.0.0",
"jwt-decode": "^2.1.0",
"leaflet": "1.0.3",
"leaflet": "^1.3.4",
"lodash": "^4.17.10",
"moment": "^2.11.2",
"numeral": "2.0.4",
Expand Down Expand Up @@ -118,7 +118,9 @@
"simple-node-logger": "^0.93.37"
},
"standard": {
"env": [ "jest" ],
"env": [
"jest"
],
"parser": "babel-eslint",
"globals": [
"$Diff",
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5404,9 +5404,9 @@ lcid@^1.0.0:
dependencies:
invert-kv "^1.0.0"

leaflet@1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.0.3.tgz#1f401b98b45c8192134c6c8d69686253805007c8"
leaflet@^1.3.4:
version "1.3.4"
resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.3.4.tgz#7f006ea5832603b53d7269ef5c595fd773060a40"

left-pad@^1.2.0:
version "1.3.0"
Expand Down

0 comments on commit 4dee7b7

Please sign in to comment.