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 (1,283 fork)batch import
documentationfeature-requesthelp wantedopen for PR

仓库指标

Star
 (14,836 star)
PR 合并指标
 (平均合并 6小时 26分钟) (30 天内合并 15 个 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

贡献者指南