【文件属性】:
文件名称:GotoSomething:一个用于搜索LaTeX文件JavaScript库
文件大小:12KB
文件格式:ZIP
更新时间:2021-05-14 07:47:52
JavaScript
转到某事
将类似Sublime-Text的“ Goto-Anything”搜索对话框引入JavaScript的方法-用于LaTeX文件。
建造
要构建克隆存储库并运行gulp 。
$ git clone https://github.com/minedev/GotoSomething.git
$ cd GotoSomething/
$ npm install
$ gulp
用法
包含goto-something.min.js ,您可以使用GotoSomething,如下所示:
// initialize the goto finder
var goto = new GotoSometing ( files ) ;
// find all results of "influence" in a chapter like "thermodynamics"
var results = got
【文件预览】:
GotoSomething-master
----src()
--------Something.js(877B)
--------GotoSomething.js(2KB)
--------File.js(646B)
--------SearchPattern.js(382B)
--------extensions()
--------latex()
----gulpfile.js(916B)
----test()
--------index.html(778B)
--------modules()
--------testfiles()
----README.md(2KB)
----.gitignore(66B)
----package.json(251B)