Recognise custom boolean arguments

Fixes #31
This commit is contained in:
tjvr 2016-04-10 21:44:51 +01:00
parent 3826391ab9
commit c3cd1d7cc7

View file

@ -923,7 +923,7 @@ var scratchblocks = function () {
};
// For recognising list reporters & custom args
if (info.shape === "reporter") {
if (info.shape === "reporter" || info.shape === "boolean") {
var name = info.spec;
if (!(name in context.variable_reporters)) {
context.variable_reporters[name] = [];