From 48505fd7e204fcaea2d8893c1b59fec0295a513c Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Mon, 4 Dec 2017 18:48:49 +0000 Subject: [PATCH 1/2] chore(package): update webpack to version 3.10.0 Closes #620 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2ccc80891..0830dee92 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "stats.js": "^0.17.0", "tap": "^10.2.0", "tiny-worker": "^2.1.1", - "webpack": "^2.4.1", + "webpack": "^3.10.0", "webpack-dev-server": "^2.4.1", "worker-loader": "1.1.0" } From 5cb0f5d76d3e2e728cfb833091b775a249e19e06 Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Fri, 15 Dec 2017 14:09:29 -0500 Subject: [PATCH 2/2] Add separator to extension block definition --- src/engine/runtime.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/engine/runtime.js b/src/engine/runtime.js index 2215a02ab..73d1e10a4 100644 --- a/src/engine/runtime.js +++ b/src/engine/runtime.js @@ -617,16 +617,20 @@ class Runtime extends EventEmitter { blockJSON.message0 = ''; - // If an icon for the extension exists, prepend it to each block + // If an icon for the extension exists, prepend it to each block, with a vertical separator. if (categoryInfo.iconURI) { - blockJSON.message0 = '%1'; + blockJSON.message0 = '%1 %2'; const iconJSON = { type: 'field_image', src: categoryInfo.iconURI, width: 40, height: 40 }; + const separatorJSON = { + type: 'field_vertical_separator' + }; blockJSON.args0.push(iconJSON); + blockJSON.args0.push(separatorJSON); } blockJSON.message0 += blockInfo.text.replace(/\[(.+?)]/g, (match, placeholder) => {