Add attributions to Delta-related packages (#324)

This commit is contained in:
Jonatan Kłosko 2021-06-06 15:27:09 +02:00 committed by GitHub
parent da64f51589
commit a8073ceac1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View file

@ -3,8 +3,10 @@
*
* See `Livebook.Delta` for more details.
*
* Also see https://github.com/quilljs/delta
* for a complete implementation of the Delta specification.
* An implementation of the full Delta specification is available
* in the official quill-delta package (https://github.com/quilljs/delta)
* licensed under MIT. Our version is based on that package,
* but simplified to match our non rich-text use case.
*/
export default class Delta {
constructor(ops = []) {

View file

@ -13,8 +13,11 @@ defmodule Livebook.Delta do
# need to work with plain-text, so we use a subset of the specification
# with operations listed in `Livebook.Delta.Operation`.
#
# Also see https://hexdocs.pm/text_delta/TextDelta.html
# for a complete implementation of the Delta specification.
# An implementation of the full Delta specification is available
# in the :text_delta package (https://github.com/deltadoc/text_delta)
# by Konstantin Kudryashov under the MIT license. This module builds
# directly on that package, and is simplified to better fit our
# not rich-text use case.
defstruct ops: []