mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
SECURITY: updates lodash from 1.3.0 to 4.17.5 (#7546)
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user