X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/164a7c1a5d55f5fa31ca959e44023a5494e7242b..a54b8c8400026c9aa92550d9ebabd3e11c2cbbcb:/dist/handlebar_helpers.js diff --git a/dist/handlebar_helpers.js b/dist/handlebar_helpers.js index d96923f..de8778b 100644 --- a/dist/handlebar_helpers.js +++ b/dist/handlebar_helpers.js @@ -14,15 +14,15 @@ function formatOSMType(sType, bExcludeExternal) { } Handlebars.registerHelper({ + formatOSMType: function (sType, bExcludeExternal) { + return formatOSMType(sType, bExcludeExternal); + }, shortOSMType: function (sType) { if (sType === 'node') return 'N'; if (sType === 'way') return 'W'; if (sType === 'relation') return 'R'; return ''; }, - isaddresses_unused: function (aAddressLine) { - return ((aAddressLine.isaddress && aAddressLine.isaddress === 'f') ? 'notused' : ''); - }, // { osm_type: 'R', osm_id: 12345 } // relation 12345