diff options
| author | Michael Ball <cycomachead@gmail.com> | 2014-11-21 03:08:41 -0800 |
|---|---|---|
| committer | Michael Ball <cycomachead@gmail.com> | 2014-11-21 03:08:41 -0800 |
| commit | 3e8146d043b1f1dc6f37e0a8cbd2e5d3dafb90c7 (patch) | |
| tree | 0a36d8b40781b5c3adc38c382cd866bbd7499598 /byob.js | |
| parent | dbf2e6665b4ff7ef8cb863bcfef5939117a2f795 (diff) | |
| parent | f2d0c2eba5d6b012fc3fb1167c82b64b2f8ed447 (diff) | |
| download | snap-yow-3e8146d043b1f1dc6f37e0a8cbd2e5d3dafb90c7.tar.gz snap-yow-3e8146d043b1f1dc6f37e0a8cbd2e5d3dafb90c7.zip | |
Merge in recent changes (split block improvements #619)
Diffstat (limited to 'byob.js')
| -rw-r--r-- | byob.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -106,7 +106,7 @@ SymbolMorph, isNil*/ // Global stuff //////////////////////////////////////////////////////// -modules.byob = '2014-September-30'; +modules.byob = '2014-November-20'; // Declarations @@ -688,7 +688,8 @@ CustomCommandBlockMorph.prototype.labelPart = function (spec) { return CustomCommandBlockMorph.uber.labelPart.call(this, spec); } if ((spec[0] === '%') && (spec.length > 1)) { - part = new BlockInputFragmentMorph(spec.slice(1)); + // part = new BlockInputFragmentMorph(spec.slice(1)); + part = new BlockInputFragmentMorph(spec.replace(/%/g, '')); } else { part = new BlockLabelFragmentMorph(spec); part.fontSize = this.fontSize; |
