From 5ceecd418207c9f4041700e9be672f87d072e01f Mon Sep 17 00:00:00 2001 From: Jonathan Protzenko Date: Mon, 3 Aug 2015 12:17:20 -0700 Subject: [PATCH] Block editor. Specify proper path for the images (including the trashcan). --- www/blockly/blockly-main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/blockly/blockly-main.ts b/www/blockly/blockly-main.ts index ae29273f..0d76be2f 100644 --- a/www/blockly/blockly-main.ts +++ b/www/blockly/blockly-main.ts @@ -312,7 +312,8 @@ module TDev { Blockly.inject($("#editor")[0], { toolbox: $("#blockly-toolbox")[0], - scrollbars: true + scrollbars: true, + media: "./media/", }); loadBlockly(message.script.scriptText); // Hack alert! Blockly's [fireUiEvent] function [setTimeout]'s (with a 0 delay) the actual