File tree Expand file tree Collapse file tree 6 files changed +18
-10
lines changed Expand file tree Collapse file tree 6 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 5050 " ./doc/scripts/header.js"
5151 ]
5252 }
53+ },
54+ {
55+ "name" : " esdoc-ecmascript-proposal-plugin" ,
56+ "option" : {
57+ "all" : true
58+ }
5359 }
5460 ]
5561}
Original file line number Diff line number Diff line change 1717 run : npm run build-gh-pages
1818
1919 - name : Deploy 🚀
20- uses : JamesIves/github-pages-deploy-action@4.1.1
20+ uses : JamesIves/github-pages-deploy-action@v4.4.0
2121 with :
2222 branch : gh-pages
2323 folder : gh-pages
Original file line number Diff line number Diff line change 44Lempel-Ziv lossless data compression algorithms for JavaScript.
55See [ docs] ( https://compression-algorithm.github.io/lempel-ziv/index.html ) .
66
7- > :warning : The code requires ` regeneratorRuntime ` to be defined, for instance by importing
7+ > :warning : Depending on your environment, the code may require
8+ > ` regeneratorRuntime ` to be defined, for instance by importing
89> [ regenerator-runtime/runtime] ( https://www.npmjs.com/package/regenerator-runtime ) .
910
1011``` js
Original file line number Diff line number Diff line change 11# Usage
22
3- > :warning : The code requires ` regeneratorRuntime ` to be defined, for instance by importing
3+ > :warning : Depending on your environment, the code may require
4+ > ` regeneratorRuntime ` to be defined, for instance by importing
45> [ regenerator-runtime/runtime] ( https://www.npmjs.com/package/regenerator-runtime ) .
56
67First, require the polyfill at the entry point of your application
78``` js
8- await import ( ' regenerator-runtime/runtime.js' );
9+ await import (' regenerator-runtime/runtime.js' );
910// or
10- import ' regenerator-runtime/runtime.js' ;
11+ import ' regenerator-runtime/runtime.js' ;
1112```
1213
1314Then, import the library where needed
1415``` js
15- const lempelziv = await import ( ' @compression-algorithm/lempel-ziv' ) ;
16+ const { lz78 } = await import (' @compression-algorithm/lempel-ziv' ) ;
1617// or
17- import * as lempelziv from ' @compression-algorithm/lempel-ziv' ;
18+ import { lz78 } from ' @compression-algorithm/lempel-ziv' ;
1819```
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const domReady = function (callback) {
1010domReady ( ( ) => {
1111 const projectname = document . createElement ( 'a' ) ;
1212 projectname . classList . add ( 'project-name' ) ;
13- projectname . text = 'compression-algorithm/lempel-ziv' ;
13+ projectname . text = '@ compression-algorithm/lempel-ziv' ;
1414 projectname . href = './index.html' ;
1515
1616 const header = document . querySelector ( 'header' ) ;
Original file line number Diff line number Diff line change 66 "author" : " make-github-pseudonymous-again" ,
77 "homepage" : " https://compression-algorithm.github.io/lempel-ziv" ,
88 "repository" : {
9- "type " : " git " ,
10- "url " : " https://github.com/compression-algorithm/lempel-ziv "
9+ "url " : " https://github.com/compression-algorithm/lempel-ziv " ,
10+ "type " : " git "
1111 },
1212 "bugs" : {
1313 "url" : " https://github.com/compression-algorithm/lempel-ziv/issues"
You can’t perform that action at this time.
0 commit comments