Microsoft/monaco-editor

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

Open

#1,718 建立於 2018年5月29日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (14,836 star) (1,283 fork)batch import
documentationfeature-requesthelp wantedopen for PR

描述

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

貢獻者指南