summaryrefslogtreecommitdiff
path: root/byob.js
diff options
context:
space:
mode:
authorJens Mönig <jens@moenig.org>2013-04-09 00:26:54 -0700
committerJens Mönig <jens@moenig.org>2013-04-09 00:26:54 -0700
commitcd41e7c644d77a396ec80d5f32abe14be7cfcc6b (patch)
treeadbd35eb96687eadbbb4caf2a40c933b948d3f64 /byob.js
parent0c4cedad05713aed3340c3d89a2e0c82fc87af40 (diff)
parentf3bd991f0710cc41178d6dc41cc1e69dfd41c62b (diff)
downloadsnap-byow-cd41e7c644d77a396ec80d5f32abe14be7cfcc6b.tar.gz
snap-byow-cd41e7c644d77a396ec80d5f32abe14be7cfcc6b.zip
Merge pull request #15 from queryselector/master
Removed .DS_Store, fixed #3, and made things consistently UTF-8
Diffstat (limited to 'byob.js')
-rw-r--r--byob.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/byob.js b/byob.js
index 2999dbd..c21cf11 100644
--- a/byob.js
+++ b/byob.js
@@ -6,12 +6,12 @@
based on morphic.js, widgets.js blocks.js, threads.js and objects.js
inspired by Scratch
- written by Jens Mšnig
+ written by Jens Mönig
jens@moenig.org
- Copyright (C) 2013 by Jens Mšnig
+ Copyright (C) 2013 by Jens Mönig
- This file is part of Snap!.
+ This file is part of Snap!.
Snap! is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
@@ -57,7 +57,7 @@
ReporterBlockMorph***
CustomReporterBlockMorph
JaggedBlockMorph
-
+
StringMorph*
BlockLabelFragmentMorph
@@ -90,7 +90,7 @@
VariableDialogMorph
BlockExportDialogMorph
BlockImportDialogMorph
-
+
*/
/*global modules, CommandBlockMorph, SpriteMorph, TemplateSlotMorph,
@@ -418,7 +418,7 @@ CustomCommandBlockMorph.prototype.refreshPrototype = function () {
protoSpec = this.specFromFragments();
- // update the prototype's type
+ // update the prototype's type
// and possibly exchange 'this' for 'myself'
if (this instanceof CustomCommandBlockMorph
&& ((hat.type === 'reporter') || (hat.type === 'predicate'))) {
@@ -1302,7 +1302,7 @@ BlockDialogMorph.prototype.fixLayout = function () {
+ this.padding
);
}
- } else if (this.head) { // when changing an existing prototype
+ } else if (this.head) { // when changing an existing prototype
if (this.types) {
this.types.fixLayout();
this.silentSetWidth(
@@ -2125,7 +2125,7 @@ InputSlotDialogMorph.uber = DialogBoxMorph.prototype;
// InputSlotDialogMorph preferences settings:
-// if "isLaunchingExpanded" is true I always open in the long form
+// if "isLaunchingExpanded" is true I always open in the long form
InputSlotDialogMorph.prototype.isLaunchingExpanded = false;
// InputSlotDialogMorph instance creation:
@@ -2486,13 +2486,13 @@ InputSlotDialogMorph.prototype.addSlotTypeButton = function (
its right.
Note that you can make the slot picture interactive (turn
it into a ToggleElementMorph by changing the
-
+
element.fullImage()
-
+
line to just
-
+
element
-
+
I've opted for the simpler representation because it reduces
the duration of time it takes for the InputSlotDialog to load
and show. But in the future computers and browsers may be