nanit icon indicating copy to clipboard operation
nanit copied to clipboard

Runner applying to object rather than function

Open Jaeiya opened this issue 8 years ago • 0 comments

I tried to do a pull request but it failed, so... I'm just going to leave this here.

In your runner code, I added the following changes to make it work. I'm sure there's a more elegant solution.

var obj = initializers.shift();
var initializer = obj[Object.keys(obj)[0]];

Jaeiya avatar Mar 01 '16 21:03 Jaeiya