Skip to content

Commit 68ce793

Browse files
chore: update build
1 parent b8fa9ed commit 68ce793

File tree

3 files changed

+1
-21
lines changed

3 files changed

+1
-21
lines changed

dist/vue-mapbox-geocoder.common.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,12 +1553,8 @@ var geocoderEvents = {
15531553
}
15541554

15551555
this.control = new mapbox_gl_geocoder_root_mapbox_gl_geocoder_default.a(this.$props);
1556-
this.control.on("results", this.$_updateInput);
15571556
this.$_deferredMount();
15581557
},
1559-
beforeDestroy: function beforeDestroy() {
1560-
this.control.off("results", this.$_updateInput);
1561-
},
15621558
methods: {
15631559
$_deferredMount: function $_deferredMount() {
15641560
this.map.addControl(this.control, this.position);
@@ -1588,12 +1584,6 @@ var geocoderEvents = {
15881584
type: eventName
15891585
}, eventData);
15901586
},
1591-
$_updateInput: function $_updateInput(results) {
1592-
if (!this.initial) {
1593-
var input = results.query ? results.query.join(" ") : "";
1594-
this.$emit("update:input", input);
1595-
}
1596-
},
15971587
query: function query(_query) {
15981588
if (this.control) {
15991589
this.$emit("update:input", _query);

dist/vue-mapbox-geocoder.umd.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,12 +1562,8 @@ var geocoderEvents = {
15621562
}
15631563

15641564
this.control = new mapbox_gl_geocoder_root_mapbox_gl_geocoder_default.a(this.$props);
1565-
this.control.on("results", this.$_updateInput);
15661565
this.$_deferredMount();
15671566
},
1568-
beforeDestroy: function beforeDestroy() {
1569-
this.control.off("results", this.$_updateInput);
1570-
},
15711567
methods: {
15721568
$_deferredMount: function $_deferredMount() {
15731569
this.map.addControl(this.control, this.position);
@@ -1597,12 +1593,6 @@ var geocoderEvents = {
15971593
type: eventName
15981594
}, eventData);
15991595
},
1600-
$_updateInput: function $_updateInput(results) {
1601-
if (!this.initial) {
1602-
var input = results.query ? results.query.join(" ") : "";
1603-
this.$emit("update:input", input);
1604-
}
1605-
},
16061596
query: function query(_query) {
16071597
if (this.control) {
16081598
this.$emit("update:input", _query);

0 commit comments

Comments
 (0)