SECURITY: updates lodash from 1.3.0 to 4.17.5 (#7546)

This commit is contained in:
Joffrey JAFFEUX
2019-05-16 10:34:19 +02:00
committed by GitHub
parent cabc203885
commit d47bf8b6c4
20 changed files with 7563 additions and 5401 deletions

View File

@ -9,9 +9,9 @@ QUnit.module("lib:keyboard-shortcuts", {
testMouseTrap = {
bind: function(bindings, callback) {
var registerBinding = _.bind(function(binding) {
var registerBinding = function(binding) {
_bindings[binding] = callback;
}, this);
}.bind(this);
if (_.isArray(bindings)) {
bindings.forEach(registerBinding, this);