diff options
| author | Gubolin <gubolin@fantasymail.de> | 2014-08-18 14:28:52 +0200 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2014-08-18 14:28:52 +0200 |
| commit | 667aa5a56564d07c05182eeae7bba7567710a844 (patch) | |
| tree | 1a4391ce15fd73eeea406ff6074c3f4583e4616b /blocks.js | |
| parent | 624bcf4e3352971a77cf3e6a4266f1600f9da577 (diff) | |
| download | snap-667aa5a56564d07c05182eeae7bba7567710a844.tar.gz snap-667aa5a56564d07c05182eeae7bba7567710a844.zip | |
add geolocation blocklocation
Diffstat (limited to 'blocks.js')
| -rw-r--r-- | blocks.js | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -844,6 +844,25 @@ SyntaxElementMorph.prototype.labelPart = function (spec) { ); part.setContents(['date']); break; + case '%locations': + part = new InputSlotMorph( + null, // text + false, // non-numeric + { + 'all' : ['all'], + 'country' : ['country'], + 'state' : ['state'], + 'state district' : ['state district'], + 'suburb' : ['suburb'], + 'city' : ['city'], + 'road' : ['road'], + 'house number' : ['house number'], + 'licence': ['licence'] + }, + true // read-only + ); + part.setContents(['all']); + break; case '%delim': part = new InputSlotMorph( null, // text |
