summaryrefslogtreecommitdiff
path: root/store.js
diff options
context:
space:
mode:
Diffstat (limited to 'store.js')
-rw-r--r--store.js14
1 files changed, 10 insertions, 4 deletions
diff --git a/store.js b/store.js
index cb91139..8cbc10f 100644
--- a/store.js
+++ b/store.js
@@ -61,7 +61,7 @@ SyntaxElementMorph, Variable*/
// Global stuff ////////////////////////////////////////////////////////
-modules.store = '2014-October-01';
+modules.store = '2014-December-17';
// XML_Serializer ///////////////////////////////////////////////////////
@@ -261,11 +261,14 @@ SnapSerializer.prototype.watcherLabels = {
yPosition: 'y position',
direction: 'direction',
getScale: 'size',
+ getTempo: 'tempo',
getLastAnswer: 'answer',
+ getLastMessage: 'message',
getTimer: 'timer',
getCostumeIdx: 'costume #',
reportMouseX: 'mouse x',
- reportMouseY: 'mouse y'
+ reportMouseY: 'mouse y',
+ reportThreadCount: 'processes'
};
// SnapSerializer instance creation:
@@ -1199,6 +1202,10 @@ SnapSerializer.prototype.loadValue = function (model) {
if (el) {
v.outerContext = this.loadValue(el);
}
+ if (v.outerContext && v.receiver &&
+ !v.outerContext.variables.parentFrame) {
+ v.outerContext.variables.parentFrame = v.receiver.variables;
+ }
return v;
case 'costume':
center = new Point();
@@ -1824,9 +1831,8 @@ Context.prototype.toXML = function (serializer) {
return '';
}
return serializer.format(
- '<context% ~><inputs>%</inputs><variables>%</variables>' +
+ '<context ~><inputs>%</inputs><variables>%</variables>' +
'%<receiver>%</receiver>%</context>',
- this.isLambda ? ' lambda="lambda"' : '',
this.inputs.reduce(
function (xml, input) {
return xml + serializer.format('<input>$</input>', input);