摘要:
判断当前浏览器打开页面的集中方式, 通过performance api performance.navigation.type type = 0 当前页面是通过点击链接,书签和表单提交,或者脚本操作,或者在url中直接输入地址,type值为0 type = 1 点击刷新页面按钮或者通过Locatio 阅读全文
摘要:
Ace Ace Ace Ace The main class required to set up an Ace instance in the browser. 在浏览器中设置一个ace实例所需要的主要类。 Methods createEditSession(Document | String t 阅读全文
摘要:
Creating a Syntax Highlighter for Ace 给ace创建一个语法高亮 Creating a new syntax highlighter for Ace is extremely simple. You'll need to define two pieces of 阅读全文