Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
obj, func, ini, i = 0,
kl = 0
try {
if (typeof funcname === 'function') {
for (i = 0, kl = _.keys.length; i < kl; i++) {
if (arguments.length > 1) {
funcname(_.values[i], _.keys[i], userdata)
} else {
funcname(_.values[i], _.keys[i])
}
}
} else if (typeof funcname === 'string') {
this.locutus = this.locutus || {}
this.locutus.ini = this.locutus.ini || {}
ini = this.locutus.ini['locutus.no-eval']
if (ini && (
parseInt(ini.local_value, 10) !== 0 && (!ini.local_value.toLowerCase || ini.local_value
.toLowerCase() !== 'off')
)) {
if (arguments.length > 1) {
for (i = 0, kl = _.keys.length; i < kl; i++) {
this.window[funcname](_.values[i], _.keys[i], userdata)
}
} else {
for (i = 0, kl = _.keys.length; i < kl; i++) {
this.window[funcname](_.values[i], _.keys[i])
}
}
} else {
if (arguments.length > 1) {
for (i = 0, kl = _.keys.length; i < kl; i++) {