From 884e24f78288fbbc712763260010091549417899 Mon Sep 17 00:00:00 2001 From: Ken Date: Fri, 11 Aug 2017 02:23:43 +1200 Subject: [PATCH] *facepalm* --- src/blocks/scratch3_operators.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/blocks/scratch3_operators.js b/src/blocks/scratch3_operators.js index d604aada7..2feda2dac 100644 --- a/src/blocks/scratch3_operators.js +++ b/src/blocks/scratch3_operators.js @@ -110,9 +110,9 @@ class Scratch3OperatorsBlocks { contains (args) { const format = function (string) { - return Cast.toString(string).toLowerCase() - } - return format(args.STRING1).includes(format(args.STRING2)) + return Cast.toString(string).toLowerCase(); + }; + return format(args.STRING1).includes(format(args.STRING2)); } mod (args) {