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

Commit 5ba18cc

Browse files
committed
Change scope of directive variable for all plural directives
1 parent dd596f2 commit 5ba18cc

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ angular.module("uiGmapgoogle-maps.directives.api.models.parent")
4949
@watch 'typeEvents', @scope
5050
@watch 'fit', @scope
5151
@watch 'idKey', @scope
52-
@watch 'deepComparison', @scope
5352

5453
@gManager = undefined
5554
@createAllNew(@scope)

src/coffee/directives/api/plural.coffee

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ angular.module('uiGmapgoogle-maps.directives.api')
3535
chunk: '=chunk' #false to disable chunking, otherwise a number to define chunk size
3636
cleanchunk: '=cleanchunk' #false to disable chunking, otherwise a number to define chunk size
3737
control: '=control'
38+
deepComparison: '=deepcomparison' #true to deep compare attributes on model for determining uniqueness.
3839

3940
link: (scope, parent) ->
4041
_initControl(scope, parent)

src/coffee/directives/api/utils/model-key.coffee

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ angular.module('uiGmapgoogle-maps.directives.api.utils')
3535
return isEqual unless isEqual
3636
#compare the rest of the properties that are being watched by scope
3737
without = _.without(@interface.scopeKeys, 'coords')
38-
console.log("Scope.deepcomparison = " + scope.deepComparison)
3938

4039
isEqual = _.every without, (k) =>
4140
m1 = @scopeOrModelVal(scope[k], scope, model1)

0 commit comments

Comments
 (0)