Commit a15cb529 by Sebastián Katzer

Fix JS bug

parent 36ac40f0
...@@ -634,7 +634,9 @@ exports.convertIds = function (ids) { ...@@ -634,7 +634,9 @@ exports.convertIds = function (ids) {
exports.getValueFor = function (options) { exports.getValueFor = function (options) {
var keys = Array.apply(null, arguments).slice(1); var keys = Array.apply(null, arguments).slice(1);
for (var key in keys) { for (var i = 0; i < keys.length; i++) {
var key = keys[i];
if (options.hasOwnProperty(key)) { if (options.hasOwnProperty(key)) {
return options[key]; return options[key];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment