Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pull_request: {}

env:
NODE_VERSION: 14
NODE_VERSION: 18

concurrency:
group: ci-${{ github.head_ref || github.ref }}
Expand Down Expand Up @@ -63,11 +63,13 @@ jobs:
- ember-lts-3.28-leaflet-0.7.7
- ember-lts-4.4
- ember-lts-4.8
- ember-release
- ember-beta
- ember-canary
- embroider-safe
- embroider-optimized
- ember-lts-4.12
- ember-lts-5.12
# - ember-release
# - ember-beta
# - ember-canary
# - embroider-safe
# - embroider-optimized

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions addon/components/base-layer.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{{#each this.leafletDescriptorsProps as |prop|}}
{{#if (ember-leaflet-eq prop "location")}}
{{did-update (fn this.updateOption "location") this.location}}
{{did-update-helper (fn this.updateOption "location") this.location}}
{{else}}
{{did-update (fn this.updateOption prop) (get this.args prop)}}
{{did-update-helper (fn this.updateOption prop) (get this.args prop)}}
{{/if}}
{{/each}}

{{#each this.leafletStyleProperties as |prop|}}
{{did-update (fn this.updateStyleProperty prop) (get this.args prop)}}
{{did-update-helper (fn this.updateStyleProperty prop) (get this.args prop)}}
{{/each}}

<@node @didInsertParent={{this.didInsertParent}} @willDestroyParent={{this.willDestroyParent}} as |Node|>
Expand Down
4 changes: 2 additions & 2 deletions addon/components/div-overlay-layer.hbs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{#if this.popupOpenDidChange}}
{{did-update this.popupOpenDidChange @popupOpen}}
{{did-update-helper this.popupOpenDidChange @popupOpen}}
{{/if}}

{{#each this.leafletDescriptorsProps as |prop|}}
{{did-update (fn this.updateOption prop) (get this.args prop)}}
{{did-update-helper (fn this.updateOption prop) (get this.args prop)}}
{{/each}}

<@node @didInsertParent={{this.didInsertParent}} @willDestroyParent={{this.willDestroyParent}}>
Expand Down
4 changes: 2 additions & 2 deletions addon/components/geojson-layer.hbs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{#each this.leafletDescriptorsProps as |prop|}}
{{did-update (fn this.updateOption prop) (get this.args prop)}}
{{did-update-helper (fn this.updateOption prop) (get this.args prop)}}
{{/each}}

{{did-update this.didChangeGeojson @geoJSON}}
{{did-update-helper this.didChangeGeojson @geoJSON}}

<@node @didInsertParent={{this.didInsertParent}} @willDestroyParent={{this.willDestroyParent}} as |Node|>
{{#let (ember-leaflet-hash) as |components|}}
Expand Down
4 changes: 2 additions & 2 deletions addon/components/leaflet-map.hbs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{#each this.leafletDescriptorsProps as |prop|}}
{{#if (ember-leaflet-eq prop "center")}}
{{did-update (fn this.updateOption "center") this.center}}
{{did-update-helper (fn this.updateOption "center") this.center}}
{{else}}
{{did-update (fn this.updateOption prop) (get this.args prop)}}
{{did-update-helper (fn this.updateOption prop) (get this.args prop)}}
{{/if}}
{{/each}}

Expand Down
Loading