Skip to content

Commit

Permalink
Include 'elm-pep' pointer events polyfill for old browsers. farmOS#88
Browse files Browse the repository at this point in the history
  • Loading branch information
paul121 committed Sep 19, 2020
1 parent 0ca5e22 commit 61d3c70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"elm-pep": "^1.0.6",
"ol": "^6.4.0",
"ol-geocoder": "^4.0.0",
"ol-grid": "^1.1.4",
Expand Down
4 changes: 4 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
// Import farmOS map instance factory function.
import createInstance from './instance/instance';

// Pointer events polyfill for old browsers.
// See https://caniuse.com/#feat=pointer
import 'elm-pep';

// Import farmOS-map CSS.
import './styles.css';

Expand Down

0 comments on commit 61d3c70

Please sign in to comment.