Changeset 15318 in josm for trunk/src/org
- Timestamp:
- 2019-08-24T13:05:11+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/OpeningHourTest.java
r15277 r15318 54 54 try (CachedFile cf = new CachedFile("resource://data/validator/opening_hours.js"); 55 55 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;"); 59 57 ENGINE.eval(reader); 60 58 ENGINE.eval("var opening_hours = require('opening_hours');");
Note:
See TracChangeset
for help on using the changeset viewer.