diff options
| author | Code WvS <code-wvs@quantentunnel.de> | 2015-03-01 18:41:56 +0100 |
|---|---|---|
| committer | Code WvS <code-wvs@quantentunnel.de> | 2015-03-01 18:41:56 +0100 |
| commit | e4d7dc5116b68a156ca870862fa400cf10e75585 (patch) | |
| tree | 1ca6e81d47cbf1dd05c1edc9bb3e605e613887f4 /objects.js | |
| parent | af5e25ce067b1647a87ddaf8078fb0f838d1c984 (diff) | |
| download | snap-yow-e4d7dc5116b68a156ca870862fa400cf10e75585.tar.gz snap-yow-e4d7dc5116b68a156ca870862fa400cf10e75585.zip | |
(re)move debug blocks
Diffstat (limited to 'objects.js')
| -rw-r--r-- | objects.js | 16 |
1 files changed, 3 insertions, 13 deletions
@@ -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: /////////////// |
