kopia lustrzana https://github.com/backface/turtlestitch
Fix encoding for exported libraries of global blocks
rodzic
be938b5da7
commit
e005d71601
6
byob.js
6
byob.js
|
@ -106,7 +106,7 @@ SymbolMorph, isNil*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.byob = '2015-May-01';
|
||||
modules.byob = '2015-May-21';
|
||||
|
||||
// Declarations
|
||||
|
||||
|
@ -3297,7 +3297,9 @@ BlockExportDialogMorph.prototype.selectNone = function () {
|
|||
// BlockExportDialogMorph ops
|
||||
|
||||
BlockExportDialogMorph.prototype.exportBlocks = function () {
|
||||
var str = this.serializer.serialize(this.blocks);
|
||||
var str = encodeURIComponent(
|
||||
this.serializer.serialize(this.blocks)
|
||||
);
|
||||
if (this.blocks.length > 0) {
|
||||
window.open(encodeURI('data:text/xml,<blocks app="'
|
||||
+ this.serializer.app
|
||||
|
|
|
@ -2504,3 +2504,7 @@ ______
|
|||
------
|
||||
* Objects, GUI: Fix encoding for exported sprites (esp. comments)
|
||||
* Portuguese translation update, thanks, Manuel!!
|
||||
|
||||
150521
|
||||
------
|
||||
* BYOB: Fix encoding for exported libraries of global blocks
|
||||
|
|
Ładowanie…
Reference in New Issue