genIslandFromString(s: string) does not account for Windows newlines
genIslandFromString(s: string)
in island.service.ts assumes that input strings will always use the single '\n' newline character to separate lines. This works fine when islands are saved directly from the web app or when island files are manually typed on Mac or *nix machines. However, manually typing an island file on Windows (ie, notepad) will result in "\r\n" as the encoded newlines. When such islands are loaded an exception is generated on the console:
ERROR Error: Invalid TileType in island at Function.stringToTileType (main-es2015.cc28233d3a5ed4d6edf4.js:1) at t.genIslandFromString (main-es2015.cc28233d3a5ed4d6edf4.js:1) at FileReader.e.onload (main-es2015.cc28233d3a5ed4d6edf4.js:1)
A fix would be to replace all "\r" with "" in the input string before splitting.