diff --git a/cpl/ECMAScript.md b/cpl/ECMAScript.md index b86b8de..56d8e27 100644 --- a/cpl/ECMAScript.md +++ b/cpl/ECMAScript.md @@ -1,5 +1,7 @@ # JavaScript +[JavaScripture The bridge between W3C, WHATWG and ECMAScript](https://www.javascripture.com/) + ECMAScript Blob-binary large object diff --git a/index/community.md b/index/community.md index b806c8b..385cfc5 100644 --- a/index/community.md +++ b/index/community.md @@ -22,6 +22,10 @@ ## 协议 +### [IDL(Interface Definition Language)](https://www.omg.org/spec/IDL/) + +- [An OMG® Interface Definition Language™ Publication Interface Definition Language™](https://www.omg.org/spec/IDL/4.2/PDF) + ### [mqtt](https://mqtt.org/) MQTT(Message Queuing Telemetry Transport,消息队列遥测传输协议),是一种基于发布/订阅(publish/subscribe)模式的“轻量级”通讯协议,该协议构建于TCP/IP协议上,由IBM在1999年发布。 diff --git a/index/computerScience.md b/index/computerScience.md index d9662b6..8397204 100644 --- a/index/computerScience.md +++ b/index/computerScience.md @@ -2,12 +2,15 @@ ## Programing Language +- [编程语言](./programminglanguage.md) - [python](../cpl/python.md) - [rust](../cpl/rust.md) - [C](../cpl/c.md) - [Cplusplus](../cpl/cplusplus.md) +- [ECMAScript](../cpl/ECMAScript.md) - [lua](../cpl/lua.md) - [Java](../java/Java.md) + ### Dev - [CMD](../dev-note/cmd.md) diff --git a/nodejs/index.md b/nodejs/index.md index e2d4410..60c35a4 100644 --- a/nodejs/index.md +++ b/nodejs/index.md @@ -2,14 +2,26 @@ ## 构建工具 -### Parcel +### [Parcel](https://parceljs.org/docs/) Parcel is a zero configuration build tool for the web -- [Parcel](https://parceljs.org/docs/) +### [rollup](https://rollupjs.org/introduction/) + +Rollup is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application. I + ## 相关库 +### UI +- [bootstrap](https://getbootstrap.com/) + - [fast bootstrap](https://fastbootstrap.com/) + +- [naive ui](https://www.naiveui.com/en-US/os-theme) + + +### 其他 + - [jspdf](https://github.com/parallax/jsPDF) - [npmjs](https://www.npmjs.com/package/jspdf) - [Element Plus](https://element-plus.org/en-US/component/button.html) diff --git a/nodejs/quill.md b/nodejs/quill.md index 57aa2c8..4f23cd7 100644 --- a/nodejs/quill.md +++ b/nodejs/quill.md @@ -2,9 +2,32 @@ ## dev - 按照sharp npm config get userconfig 获取配置信息 npm config edit 打开默认的配置文件 npm config set sharp_binary_host "https://npmmirror.com/mirrors/sharp" npm config set sharp_libvips_binary_host "https://npmmirror.com/mirrors/sharp-libvips" + +## rollup打包 +看不懂webpack的逻辑,直接增加rollup打包,思路就清晰了 +npm install rollup --save-dev +npm install @rollup/plugin-typescript --save-dev +npm install @rollup/plugin-image --save-dev +npm install @rollup/plugin-replace --save-dev +npm install @rollup/plugin-node-resolve --save-dev +npm install @rollup/plugin-commonjs --save-dev +npm install rollup-plugin-postcss --save-dev +npm install rollup-plugin-rawsvg --save-dev + +## [delta](https://github.com/quilljs/delta) +Delta 是用于描述富文本文档结构的内容与变更。由于其描述的通用性,quill.js 将其独立维护。它的数据结构是基于 JSON 格式的,方便服务间进行互解析 + +[An O(ND) Difference Algorithm and Its Variations](https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.4.6927&rep=rep1&type=pdf)在[github上的实现](https://github.com/jhchen/fast-diff) + +[Diff, Match and Patch library](https://neil.fraser.name/news/2007/10/09/)在[GitHub](https://github.com/google/diff-match-patch/)上的地址 + +## [parchment](https://github.com/quilljs/parchment) +Parchment is Quill's document model. It is a parallel tree structure to the DOM tree, and provides functionality useful for content editors, like Quill. A Parchment tree is made up of Blots, which mirror a DOM node counterpart. Blots can provide structure, formatting, and/or content. Attributors can also provide lightweight formatting information. + +通过Parchment你可以自定义出Quill能够识别的内容和格式,或者添加全新的内容和格式。 +[一个例子](https://kang-bing-kui.gitbook.io/quill/zhi-nan-guides/clonewithparchment) \ No newline at end of file