Permalink
Browse files

fix(fetch_config): Make sure arguments is an array

Arguments is not an array, which caused unexpected behaviour in Safari
  • Loading branch information...
jeremyvergnas committed Sep 20, 2016
1 parent 7289a58 commit a71c64df97290f3afa29706a66585d63e7e5e544
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/config.js
@@ -77,9 +77,10 @@ export class Config {
}
let result = this.namespaces;
let args = Array.from(arguments);
for (let index in arguments) {
let key = arguments[index];
for (let index in args) {
let key = args[index];
let value = result[key];
if (!value) {
return value;

0 comments on commit a71c64d

Please sign in to comment.