Added the maps-module to the iwmlib.

Migrated a  ot of the content from the tuesch to the iwmlib.
This is before the decoupeling of the layers.
This commit is contained in:
2019-11-04 10:59:08 +01:00
parent e2ea89cc0b
commit 86b23f4e6f
121 changed files with 12779 additions and 40 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ export default class Doctest {
let pre = document.createElement('pre')
// See http://stackoverflow.com/questions/1068280/javascript-regex-multiline-flag-doesnt-work
// let re = /Doctest\.expect\(([\s\S]*)[\,\s\S]*([\s\S]*)\)/g
let lines = text.value.split('\n')
let lines = text.value ? text.value.split('\n') : text.split('\n')
let better = []
for (let line of lines) {
if (replaceExpect && line.trim().startsWith('Doctest.expect(')) {