Microsoft/monaco-editor

sample electron-amd/electron-index.html have problem with path including special characters, such as #

Open

#1.718 geöffnet am 29. Mai 2018

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.283 Forks)batch import
documentationfeature-requesthelp wantedopen for PR

Repository-Metriken

Stars
 (14.836 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6h 26m) (15 gemergte PRs in 30 T)

Beschreibung

electron-amd/electron-index.html declares a function named uriFromPath to handle file paths, but it seems that if a file path has # or other special characters in it, the amdRequire won't work.

https://github.com/Microsoft/monaco-editor-samples/blob/779a88524d1755ad087420ce459b37199bf4df0e/electron-amd/electron-index.html#L28-L34

Contributor Guide