kopia lustrzana https://github.com/backface/turtlestitch
integrate percent sign fix for JSLint
rodzic
7a8ee8eb3d
commit
4768102b09
6
byob.js
6
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;
|
||||
|
|
|
@ -2328,4 +2328,5 @@ ______
|
|||
* Threads: Fixed #364 avoid “freezing” when calling LAUNCH on empty ring
|
||||
* Threads: Added optional “onComplete” callback to Process, thanks, @bromagosa!
|
||||
* GUI: Set Default Save location to Cloud on load, thanks, @cycomachead!
|
||||
* GUI: Updated the “About” Dialog with a mention of support from CDG (SAP Labs)
|
||||
* GUI: Updated the “About” Dialog with a mention of support from CDG (SAP Labs)
|
||||
* BYOB: Percent sign fix for block labels, thanks, @natashasandy!
|
||||
|
|
Ładowanie…
Reference in New Issue