Browse Source

removed redundant 'default' check

pull/1002/head
Stephen Hess 7 years ago
parent
commit
6d9090fa84
  1. 2
      helper/geojsonify_place_details.js

2
helper/geojsonify_place_details.js

@ -69,7 +69,7 @@ function copyProperties( params, source, dst ) {
if ( source.hasOwnProperty( prop.name ) ) {
var value = null;
switch (_.defaultTo(prop.type, 'default')) {
switch (prop.type) {
case 'string':
value = getStringValue(source[prop.name]);
break;

Loading…
Cancel
Save