diff options
| -rw-r--r-- | gui.js | 6 | ||||
| -rwxr-xr-x | history.txt | 4 | ||||
| -rw-r--r-- | objects.js | 4 |
3 files changed, 10 insertions, 4 deletions
@@ -69,7 +69,7 @@ SpeechBubbleMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2015-May-01'; +modules.gui = '2015-May-18'; // Declarations @@ -2964,7 +2964,9 @@ IDE_Morph.prototype.exportGlobalBlocks = function () { }; IDE_Morph.prototype.exportSprite = function (sprite) { - var str = this.serializer.serialize(sprite.allParts()); + var str = encodeURIComponent( + this.serializer.serialize(sprite.allParts()) + ); window.open('data:text/xml,<sprites app="' + this.serializer.app + '" version="' diff --git a/history.txt b/history.txt index 7f60776..33d3a82 100755 --- a/history.txt +++ b/history.txt @@ -2510,3 +2510,7 @@ ______ * Threads: return empty string when querying first letter of a list * GUI: hide “save to disk” option behind shift-click again (has issues in Chrome) * GUI: parameters for embedding projects in iFrames, thanks, Bernat! + +150518 +------ +* Objects, GUI: Fix encoding for exported sprites (esp. comments) @@ -125,7 +125,7 @@ PrototypeHatBlockMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.objects = '2015-April-17'; +modules.objects = '2015-May-18'; var SpriteMorph; var StageMorph; @@ -2726,7 +2726,7 @@ SpriteMorph.prototype.userMenu = function () { }; SpriteMorph.prototype.exportSprite = function () { - if (this.isCoone) {return; } + if (this.isClone) {return; } var ide = this.parentThatIsA(IDE_Morph); if (ide) { ide.exportSprite(this); |
