Changeset 13961 in josm for trunk/scripts


Ignore:
Timestamp:
2018-06-20T18:28:06+02:00 (7 years ago)
Author:
stoecker
Message:

don't warn for 'unembedded' ELI icons - ELI guys: did you ever think about why JOSM uses duplicate data URLs even when that wastes space? Maybe there is an reason for this?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/SyncEditorLayerIndex.groovy

    r13958 r13961  
    774774            } else if(ij == null && ie != null) {
    775775                myprintln "- No JOSM icon: ${getDescription(j)}"
    776             } else if(!ij.equals(ie)) {
     776            } else if(!ij.equals(ie) && !(
     777              ie.startsWith("https://osmlab.github.io/editor-layer-index/") &&
     778              ij.startsWith("data:"))) {
    777779                myprintln "* Different icons: ${getDescription(j)}"
    778780            }
Note: See TracChangeset for help on using the changeset viewer.