From fa88fdc761faa224d307e833f74163df48cedb0c Mon Sep 17 00:00:00 2001 From: jmoenig Date: Thu, 9 Jan 2014 18:50:38 +0100 Subject: validated all source files against the latest JSLint version and pushed to this date --- byob.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'byob.js') diff --git a/byob.js b/byob.js index 8093266..aff32ad 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-09'; // Declarations -- cgit v1.3.1 From fba838735947f755b9b23173d744b7dbcb670a70 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Fri, 10 Jan 2014 12:18:24 +0100 Subject: Fixed #292 (pulldowns loose lines when exported as library) --- byob.js | 6 +++--- history.txt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'byob.js') diff --git a/byob.js b/byob.js index aff32ad..2ff40ab 100644 --- a/byob.js +++ b/byob.js @@ -106,7 +106,7 @@ SymbolMorph, isNil*/ // Global stuff //////////////////////////////////////////////////////// -modules.byob = '2014-January-09'; +modules.byob = '2014-January-10'; // Declarations @@ -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,' + str - + ''); + + '')); } else { new DialogBoxMorph().inform( 'Export blocks', diff --git a/history.txt b/history.txt index d536252..2b58162 100755 --- a/history.txt +++ b/history.txt @@ -2068,3 +2068,4 @@ ______ 140110 ------ * Threads: Revert pull request #295 (xhr-headers), breaks existing installations +* BYOB: Fixed #292 (pulldowns loose lines when exported as library) -- cgit v1.3.1 From 9d63d129a68713a092a39c37025f896ec4edf00f Mon Sep 17 00:00:00 2001 From: jmoenig Date: Fri, 10 Jan 2014 12:43:22 +0100 Subject: Fixed #291 (readonly custom menus become non-readonly when block is edited) --- byob.js | 2 +- history.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'byob.js') diff --git a/byob.js b/byob.js index 2ff40ab..4b581e1 100644 --- a/byob.js +++ b/byob.js @@ -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; } } }); diff --git a/history.txt b/history.txt index 2b58162..d2ffc1d 100755 --- a/history.txt +++ b/history.txt @@ -2069,3 +2069,4 @@ ______ ------ * Threads: Revert pull request #295 (xhr-headers), breaks existing installations * BYOB: Fixed #292 (pulldowns loose lines when exported as library) +* BYOB: Fixed #291 (readonly custom menus become non-readonly when block is edited) -- cgit v1.3.1