We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 64bfc1f + 35698eb commit ef715deCopy full SHA for ef715de
src/coffee/extensions/lodash.coffee
@@ -96,6 +96,22 @@ angular.module('uiGmapgoogle-maps.extensions')
96
if result == undefined then defaultValue else result
97
98
_.get = get
99
+
100
101
+ ###
102
+ For Lodash 4 compatibility (some aliases are removed)
103
104
105
+ if typeof _.contains == undefined
106
+ _.contains = _.includes;
107
+ _.prototype.contains = _.includes;
108
+ if typeof _.object == undefined
109
+ _.object = _.zipObject;
110
+ if typeof _.all == undefined
111
+ _.all = _.every;
112
+ if typeof _.any == undefined
113
+ _.any = _.some;
114
115
###
116
Author Nick McCready
117
Intersection of Objects if the arrays have something in common each intersecting object will be returned
0 commit comments