summaryrefslogtreecommitdiff
path: root/byob.js
diff options
context:
space:
mode:
authorMichael Ball <cycomachead@gmail.com>2014-02-04 11:59:45 -0800
committerMichael Ball <cycomachead@gmail.com>2014-02-04 11:59:45 -0800
commit817f4c5420e5d55409c88386c478f14e4735a627 (patch)
tree29af845c58934508a0ea842786c5838e8deb4519 /byob.js
parent9aa3921dd04ee8b6fedec0116f9e3f5503e4043b (diff)
parent8b5fa2ff9bd81ad9227b2593f9ccd6fdb8d32444 (diff)
downloadsnap-byow-817f4c5420e5d55409c88386c478f14e4735a627.tar.gz
snap-byow-817f4c5420e5d55409c88386c478f14e4735a627.zip
resolve merge conflicts; date problems only
Diffstat (limited to 'byob.js')
-rw-r--r--byob.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/byob.js b/byob.js
index 8093266..4b581e1 100644
--- a/byob.js
+++ b/byob.js
@@ -9,7 +9,7 @@
written by Jens Mönig
jens@moenig.org
- Copyright (C) 2013 by Jens Mönig
+ Copyright (C) 2014 by Jens Mönig
This file is part of Snap!.
@@ -106,7 +106,7 @@ SymbolMorph, isNil*/
// Global stuff ////////////////////////////////////////////////////////
-modules.byob = '2013-November-26';
+modules.byob = '2014-January-10';
// Declarations
@@ -194,7 +194,7 @@ CustomBlockDefinition.prototype.prototypeInstance = function () {
part.fragment.type = slot[0];
part.fragment.defaultValue = slot[1];
part.fragment.options = slot[2];
- part.fragment.isReadonly = slot[3] || false;
+ part.fragment.isReadOnly = slot[3] || false;
}
}
});
@@ -3189,13 +3189,13 @@ BlockExportDialogMorph.prototype.selectNone = function () {
BlockExportDialogMorph.prototype.exportBlocks = function () {
var str = this.serializer.serialize(this.blocks);
if (this.blocks.length > 0) {
- window.open('data:text/xml,<blocks app="'
+ window.open(encodeURI('data:text/xml,<blocks app="'
+ this.serializer.app
+ '" version="'
+ this.serializer.version
+ '">'
+ str
- + '</blocks>');
+ + '</blocks>'));
} else {
new DialogBoxMorph().inform(
'Export blocks',