Fix backward compatibility with lodash 2.4, fixes #279.
This commit is contained in:
@@ -504,3 +504,8 @@ function sequence(funcsArray) {
|
||||
return result;
|
||||
};
|
||||
}
|
||||
|
||||
// Fix for backward compatibility with lodash 2.4
|
||||
if (!_.includes) {
|
||||
_.includes = _.contains;
|
||||
}
|
||||
|
||||
@@ -93,3 +93,8 @@ export function convertToZabbixAPIUrl(url) {
|
||||
return url.replace(trimSlashPattern, "$1");
|
||||
}
|
||||
}
|
||||
|
||||
// Fix for backward compatibility with lodash 2.4
|
||||
if (!_.includes) {
|
||||
_.includes = _.contains;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user