summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2015-03-15 17:52:20 +0100
committerJochen Topf <jochen@topf.org>2015-03-15 17:52:20 +0100
commitdf9566d14894da0f664a4d50b35b50358a5d84ce (patch)
treeb10f2c49be459451aa42c54bf3d605c4156732e4
parent6bc272c2d464baabe4e7229028213eeb888f40e1 (diff)
downloadtaginfo-df9566d14894da0f664a4d50b35b50358a5d84ce.tar
taginfo-df9566d14894da0f664a4d50b35b50358a5d84ce.tar.gz
Remove unused javascript functions.
-rw-r--r--web/public/js/taginfo.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js
index 1d3994f..8a5894e 100644
--- a/web/public/js/taginfo.js
+++ b/web/public/js/taginfo.js
@@ -362,39 +362,6 @@ function fmt_type_icon(type, on_or_off) {
}) + ' ';
}
-function fmt_josm_value(key, value, value_bool) {
- return value ? link_to_value(key, value) : value_bool ? (html_escape(value_bool) + ' (Boolean)') : '*';
-}
-
-function fmt_josm_icon(style, icon) {
- if (!icon) return '';
-
- return img({
- src: '/api/4/josm/style/image?style=' + encodeURIComponent(style) + '&image=' + encodeURIComponent(icon),
- title: html_escape(icon),
- alt: ''
- });
-}
-
-function fmt_josm_line(width, color) {
- var inner = '';
- if (width > 0) {
- inner = tag('div', '', {
- title: html_escape(color),
- style: style({ height: width + 'px', 'margin-top': (10 - Math.round(width/2)) + 'px', padding: 0, 'background-color': color })
- });
- }
- return tag('div', inner);
-}
-
-function fmt_josm_area(color) {
- if (!color) return '';
-
- return tag('div', '', {
- title: html_escape(color),
- style: style({ height: '18px', 'background-color': color })
- });
-}
function fmt_type_image(type) {
type = type.replace(/s$/, '');