Skip to content

Commit

Permalink
added missing method scheduleRecreate to all components
Browse files Browse the repository at this point in the history
  • Loading branch information
ghettovoice committed Nov 18, 2018
1 parent 745b483 commit 4ef49c4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/_coverpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<img class="logo" src="/_media/logo.svg" data-origin="_media/logo.svg" alt="VueLayers Logo" />

# VueLayers <small>v0.10.23</small>
# VueLayers <small>v0.10.24</small>

> Web map [Vue](https://vuejs.org/ "Vue Homepage") components with the power of [OpenLayers](https://openlayers.org/ "OpenLayers Homepage")
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vuelayers",
"fullname": "VueLayers",
"version": "0.10.23",
"version": "0.10.24",
"description": "Web map Vue components with the power of OpenLayers",
"author": "Vladimir Vershinin <ghettovoice@gmail.com>",
"main": "lib/index.js",
Expand Down
3 changes: 3 additions & 0 deletions src/mixin/ol-cmp.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ const methods = {
.then(() => this.init())
.then(() => this.mount())
},
scheduleRecreate: debounce(function () {
return this.recreate()
}, 10),
}

/**
Expand Down

0 comments on commit 4ef49c4

Please sign in to comment.