Changeset 15318 in josm for trunk/src/org


Ignore:
Timestamp:
2019-08-24T13:05:11+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #17932 - fix error message localization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/OpeningHourTest.java

    r15277 r15318  
    5454            try (CachedFile cf = new CachedFile("resource://data/validator/opening_hours.js");
    5555                 Reader reader = cf.getContentReader()) {
    56                 ENGINE.eval(
    57                         "var global=this;var window=this;var process={env:{}};" +
    58                         "var console={};console.debug=print;console.log=print;console.warn=print;console.error=print;");
     56                ENGINE.eval("var console={};console.debug=print;console.log=print;console.warn=print;console.error=print;");
    5957                ENGINE.eval(reader);
    6058                ENGINE.eval("var opening_hours = require('opening_hours');");
Note: See TracChangeset for help on using the changeset viewer.