summaryrefslogtreecommitdiff
path: root/byob.js
diff options
context:
space:
mode:
Diffstat (limited to 'byob.js')
-rw-r--r--byob.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/byob.js b/byob.js
index 71b3298..b5905ce 100644
--- a/byob.js
+++ b/byob.js
@@ -106,7 +106,7 @@ SymbolMorph, isNil*/
// Global stuff ////////////////////////////////////////////////////////
-modules.byob = '2014-September-30';
+modules.byob = '2014-November-20';
// Declarations
@@ -688,8 +688,8 @@ CustomCommandBlockMorph.prototype.labelPart = function (spec) {
return CustomCommandBlockMorph.uber.labelPart.call(this, spec);
}
if ((spec[0] === '%') && (spec.length > 1)) {
- var label = spec.replace(/%/g, '');
- part = new BlockInputFragmentMorph(label);
+ // part = new BlockInputFragmentMorph(spec.slice(1));
+ part = new BlockInputFragmentMorph(spec.replace(/%/g, ''));
} else {
part = new BlockLabelFragmentMorph(spec);
part.fontSize = this.fontSize;