Skip to content

Commit 337b2d0

Browse files
author
Rick Huizinga
committed
Fix for issue angular-ui#489
1 parent 5fca355 commit 337b2d0

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

dist/angular-google-maps.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! angular-google-maps 1.1.1-SNAPSHOT 2014-06-11
1+
/*! angular-google-maps 1.1.1-SNAPSHOT 2014-06-12
22
* AngularJS directives for Google Maps
33
* git: https://github.com/nlaplante/angular-google-maps.git
44
*/
@@ -2713,7 +2713,7 @@ Nicholas McCready - https://twitter.com/nmccready
27132713
this.plurals = new PropMap();
27142714
this.scopePropNames = ['path', 'stroke', 'clickable', 'draggable', 'editable', 'geodesic', 'icons', 'visible'];
27152715
_.each(this.scopePropNames, function(name) {
2716-
return this[name + 'Key'] = void 0;
2716+
return _this[name + 'Key'] = void 0;
27172717
});
27182718
this.models = void 0;
27192719
this.firstTime = true;
@@ -2949,7 +2949,7 @@ Nicholas McCready - https://twitter.com/nmccready
29492949
this.windows = new PropMap();
29502950
this.scopePropNames = ['show', 'coords', 'templateUrl', 'templateParameter', 'isIconVisibleOnClick', 'closeClick'];
29512951
_.each(this.scopePropNames, function(name) {
2952-
return this[name + 'Key'] = void 0;
2952+
return _this[name + 'Key'] = void 0;
29532953
});
29542954
this.linked = new Linked(scope, element, attrs, ctrls);
29552955
this.models = void 0;

dist/angular-google-maps.min.js

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

src/coffee/directives/api/models/parent/polylines-parent-model.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ angular.module("google-maps.directives.api.models.parent")
2323
'visible'
2424
]
2525
#setting up local references to propety keys IE: @pathKey
26-
_.each @scopePropNames, (name) ->
26+
_.each @scopePropNames, (name) =>
2727
@[name + 'Key'] = undefined
2828
@models = undefined
2929
@firstTime = true

src/coffee/directives/api/models/parent/windows-parent-model.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ angular.module("google-maps.directives.api.models.parent")
1515
@scopePropNames = ['show', 'coords', 'templateUrl', 'templateParameter',
1616
'isIconVisibleOnClick', 'closeClick']
1717
#setting up local references to propety keys IE: @coordsKey
18-
_.each @scopePropNames, (name) ->
18+
_.each @scopePropNames, (name) =>
1919
@[name + 'Key'] = undefined
2020
@linked = new Linked(scope, element, attrs, ctrls)
2121
@models = undefined

0 commit comments

Comments
 (0)