@@ -6147,10 +6147,7 @@ Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawi
61476147 return CtrlHandle.mapPromise(scope, ctrl).then(function(map) {
61486148 var enableKeyDragZoom, setKeyAction, setOptionsAction;
61496149 enableKeyDragZoom = function(opts) {
6150- map.enableKeyDragZoom(opts);
6151- if (scope.spec) {
6152- return scope.spec.enableKeyDragZoom(opts);
6153- }
6150+ return map.enableKeyDragZoom(opts);
61546151 };
61556152 setKeyAction = new PropertyAction(function(key, newVal) {
61566153 if (newVal) {
@@ -6591,7 +6588,7 @@ Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawi
65916588 extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
65926589 hasProp = {}.hasOwnProperty;
65936590
6594- angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapMap', ['$timeout', '$q', '$log', 'uiGmapGmapUtil', 'uiGmapBaseObject', 'uiGmapCtrlHandle', 'uiGmapIsReady', 'uiGmapuuid', 'uiGmapExtendGWin', 'uiGmapExtendMarkerClusterer', 'uiGmapGoogleMapsUtilV3', 'uiGmapGoogleMapApi', 'uiGmapEventsHelper', 'uiGmapGoogleMapObjectManager', function($timeout, $q, $log, uiGmapGmapUtil, uiGmapBaseObject, uiGmapCtrlHandle, uiGmapIsReady, uiGmapuuid, uiGmapExtendGWin, uiGmapExtendMarkerClusterer, uiGmapGoogleMapsUtilV3, uiGmapGoogleMapApi, uiGmapEventsHelper, uiGmapGoogleMapObjectManager) {
6591+ angular.module('uiGmapgoogle-maps.directives.api').factory('uiGmapMap', function($timeout, $q, $log, uiGmapGmapUtil, uiGmapBaseObject, uiGmapCtrlHandle, uiGmapIsReady, uiGmapuuid, uiGmapExtendGWin, uiGmapExtendMarkerClusterer, uiGmapGoogleMapsUtilV3, uiGmapGoogleMapApi, uiGmapEventsHelper, uiGmapGoogleMapObjectManager) {
65956592 var DEFAULTS, Map, initializeItems;
65966593 DEFAULTS = void 0;
65976594 initializeItems = [uiGmapGoogleMapsUtilV3, uiGmapExtendGWin, uiGmapExtendMarkerClusterer];
@@ -6933,7 +6930,7 @@ Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawi
69336930 return Map;
69346931
69356932 })(uiGmapBaseObject);
6936- }] );
6933+ });
69376934
69386935}).call(this);
69396936;
@@ -7519,9 +7516,9 @@ Nick Baugh - https://github.com/niftylettuce
75197516/*globals angular */
75207517
75217518(function() {
7522- angular.module("uiGmapgoogle-maps").directive("uiGmapGoogleMap", ['uiGmapMap', function(uiGmapMap) {
7519+ angular.module("uiGmapgoogle-maps").directive("uiGmapGoogleMap", function(uiGmapMap) {
75237520 return new uiGmapMap();
7524- }] );
7521+ });
75257522
75267523}).call(this);
75277524;
0 commit comments