Microsoft/monaco-editor

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

開放

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

 (0 則留言) (0 個反應) (0 位負責人)JavaScript (4,064 個分叉)batch import
documentationfeature-requesthelp wantedopen for PR

倉庫指標

星標
 (46,002 顆星)
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

貢獻者指南