Skip to content
This repository was archived by the owner on Nov 30, 2018. It is now read-only.

Commit c959085

Browse files
committed
rebuild to sync master with PR's
1 parent 80cae49 commit c959085

9 files changed

+23
-33
lines changed

dist/angular-google-maps-street-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! angular-google-maps 2.4.0 2016-09-19
1+
/*! angular-google-maps 2.4.0 2016-10-12
22
* AngularJS directives for Google Maps
33
* git: https://github.com/angular-ui/angular-google-maps.git
44
*/

dist/angular-google-maps-street-view.min.js

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-street-view_dev_mapped.js

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-street-view_dev_mapped.min.js

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.js

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! angular-google-maps 2.4.0 2016-09-19
1+
/*! angular-google-maps 2.4.0 2016-10-12
22
* AngularJS directives for Google Maps
33
* git: https://github.com/angular-ui/angular-google-maps.git
44
*/
@@ -6180,13 +6180,8 @@ Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawi
61806180
Control.prototype.link = function(scope, element, attrs, ctrl, transclude) {
61816181
return GoogleMapApi.then((function(_this) {
61826182
return function(maps) {
6183-
var hasTranscludedContent, index, position, transcludedContent;
6184-
transcludedContent = transclude();
6185-
hasTranscludedContent = transclude().length > 0;
6186-
if (!hasTranscludedContent && angular.isUndefined(scope.template)) {
6187-
_this.$log.error('mapControl: could not find a valid template property or elements for transclusion');
6188-
return;
6189-
}
6183+
var hasTranscludedContent, index, position;
6184+
hasTranscludedContent = angular.isUndefined(scope.template);
61906185
index = angular.isDefined(scope.index && !isNaN(parseInt(scope.index))) ? parseInt(scope.index) : void 0;
61916186
position = angular.isDefined(scope.position) ? scope.position.toUpperCase().replace(/-/g, '_') : 'TOP_CENTER';
61926187
if (!maps.ControlPosition[position]) {
@@ -6206,7 +6201,7 @@ Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawi
62066201
if (hasTranscludedContent) {
62076202
return transclude(function(transcludeEl) {
62086203
controlDiv.append(transcludeEl);
6209-
return pushControl(map, controlDiv, index);
6204+
return pushControl(map, controlDiv.children(), index);
62106205
});
62116206
} else {
62126207
return $http.get(scope.template, {

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: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! angular-google-maps 2.4.0 2016-09-19
1+
/*! angular-google-maps 2.4.0 2016-10-12
22
* AngularJS directives for Google Maps
33
* git: https://github.com/angular-ui/angular-google-maps.git
44
*/
@@ -6180,13 +6180,8 @@ Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawi
61806180
Control.prototype.link = function(scope, element, attrs, ctrl, transclude) {
61816181
return GoogleMapApi.then((function(_this) {
61826182
return function(maps) {
6183-
var hasTranscludedContent, index, position, transcludedContent;
6184-
transcludedContent = transclude();
6185-
hasTranscludedContent = transclude().length > 0;
6186-
if (!hasTranscludedContent && angular.isUndefined(scope.template)) {
6187-
_this.$log.error('mapControl: could not find a valid template property or elements for transclusion');
6188-
return;
6189-
}
6183+
var hasTranscludedContent, index, position;
6184+
hasTranscludedContent = angular.isUndefined(scope.template);
61906185
index = angular.isDefined(scope.index && !isNaN(parseInt(scope.index))) ? parseInt(scope.index) : void 0;
61916186
position = angular.isDefined(scope.position) ? scope.position.toUpperCase().replace(/-/g, '_') : 'TOP_CENTER';
61926187
if (!maps.ControlPosition[position]) {
@@ -6206,7 +6201,7 @@ Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawi
62066201
if (hasTranscludedContent) {
62076202
return transclude(function(transcludeEl) {
62086203
controlDiv.append(transcludeEl);
6209-
return pushControl(map, controlDiv, index);
6204+
return pushControl(map, controlDiv.children(), index);
62106205
});
62116206
} else {
62126207
return $http.get(scope.template, {

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.

0 commit comments

Comments
 (0)