From e4d7dc5116b68a156ca870862fa400cf10e75585 Mon Sep 17 00:00:00 2001 From: Code WvS Date: Sun, 1 Mar 2015 18:41:56 +0100 Subject: (re)move debug blocks --- objects.js | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'objects.js') diff --git a/objects.js b/objects.js index a66401b..cda809c 100644 --- a/objects.js +++ b/objects.js @@ -226,7 +226,7 @@ SpriteMorph.prototype.initBlocks = function () { }, overpassQuerySucceeds: { type: 'predicate', - category: 'motion', + category: 'sensing', spec: 'overpass query %s returns elements' }, focusMap: { @@ -235,12 +235,6 @@ SpriteMorph.prototype.initBlocks = function () { spec: 'set focus to longitude: %n latitude: %n with zoom %n', defaults: [0, 0, 12] }, - addMarker: { - dev: true, - type: 'command', - category: 'motion', - spec: 'debug: add a marker to %l' - }, // Motion forward: { @@ -1801,18 +1795,12 @@ SpriteMorph.prototype.blockTemplates = function (category) { blocks.push(block('userLon')); blocks.push(block('userLat')); blocks.push('-'); - blocks.push(block('overpassQuerySucceeds')); - blocks.push('-'); blocks.push(block('reportGeocode')); blocks.push(block('findLocation')); blocks.push('-'); blocks.push(block('focusMap')); blocks.push('-'); - //if (this.world().isDevMode) { - blocks.push(block('addMarker')); - //} - blocks.push('='); blocks.push(block('forward')); @@ -2021,6 +2009,8 @@ SpriteMorph.prototype.blockTemplates = function (category) { blocks.push(block('doSetFastTracking')); blocks.push('-'); blocks.push(block('reportDate')); + blocks.push('-'); + blocks.push(block('overpassQuerySucceeds')); // for debugging: /////////////// -- cgit v1.3.1