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:
+1
-1
@@ -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(')) {
|
||||
|
||||
Reference in New Issue
Block a user