Skip to content

Commit aecba46

Browse files
committed
buildAll
1 parent 5e3a739 commit aecba46

6 files changed

+34
-14
lines changed

dist/angular-google-maps.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5483,6 +5483,13 @@ Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawi
54835483
}
54845484
this.listeners = this.setEvents(this.gObject, this.scope, this.scope);
54855485
this.$log.info(this);
5486+
this.scope.$on('$stateChangeSuccess', (function(_this) {
5487+
return function() {
5488+
if (_this.attrs.parentdiv != null) {
5489+
return _this.addToParentDiv();
5490+
}
5491+
};
5492+
})(this));
54865493
return this.scope.$on('$destroy', (function(_this) {
54875494
return function() {
54885495
return _this.gObject = null;
@@ -5495,8 +5502,11 @@ Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawi
54955502
};
54965503

54975504
SearchBoxParentModel.prototype.addToParentDiv = function() {
5505+
var ref;
54985506
this.parentDiv = angular.element(document.getElementById(this.scope.parentdiv));
5499-
return this.parentDiv.append(this.input);
5507+
if (((ref = this.parentDiv[0]) != null ? ref.firstChild : void 0) == null) {
5508+
return this.parentDiv.append(this.input);
5509+
}
55005510
};
55015511

55025512
SearchBoxParentModel.prototype.createSearchBox = function() {

dist/angular-google-maps.min.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-google-maps_dev_mapped.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5483,6 +5483,13 @@ Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawi
54835483
}
54845484
this.listeners = this.setEvents(this.gObject, this.scope, this.scope);
54855485
this.$log.info(this);
5486+
this.scope.$on('$stateChangeSuccess', (function(_this) {
5487+
return function() {
5488+
if (_this.attrs.parentdiv != null) {
5489+
return _this.addToParentDiv();
5490+
}
5491+
};
5492+
})(this));
54865493
return this.scope.$on('$destroy', (function(_this) {
54875494
return function() {
54885495
return _this.gObject = null;
@@ -5495,8 +5502,11 @@ Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawi
54955502
};
54965503

54975504
SearchBoxParentModel.prototype.addToParentDiv = function() {
5505+
var ref;
54985506
this.parentDiv = angular.element(document.getElementById(this.scope.parentdiv));
5499-
return this.parentDiv.append(this.input);
5507+
if (((ref = this.parentDiv[0]) != null ? ref.firstChild : void 0) == null) {
5508+
return this.parentDiv.append(this.input);
5509+
}
55005510
};
55015511

55025512
SearchBoxParentModel.prototype.createSearchBox = function() {

dist/angular-google-maps_dev_mapped.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-google-maps_dev_mapped.min.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-google-maps_dev_mapped.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)