问题标签 [bespin]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
bespin - 如何像这样配置 Bespin Embedded?
如何在 bespin 的顶部栏设置保存、撤消、重做按钮,如下图所示:
html - How do I make Worker() work against cross-domain?
I've been hacking away at BeSpin trying to make it work on my CDN, and I got past the XHR cross domain request for the theme.less by converting to use JSONP. The next problem I've been at is the new Worker(js_file) where js_file is on a different domain.
How do/Can I enable cross-domain for a Worker()?
Can I give the Worker the source code directly? (i.e. build a super large JavaScript file with another file embedded in it) [this is less than ideal, but it should work].
bespin - Ace 编辑器有没有办法在换行符上保留缩进?
例如,将有助于编辑 YAML 或 Python。
javascript - 在 ACE 编辑器中以编程方式折叠代码
ACE(Bespin 的后继者)具有代码折叠功能。此外,还有一个事件changeFold会在代码折叠或展开时触发。
如何从 JavaScript 触发/设置代码折叠?
即折叠从第 N 行开始的函数代码。