Difference between revisions of "CanvasJS - Remove "Trial Version" Label"
Jump to navigation
Jump to search
m |
m (→CanvasJS 2.3.2) |
||
Line 5: | Line 5: | ||
$ python -m venv jsbeautify | $ python -m venv jsbeautify | ||
$ source jsbeautify/bin/activate | $ source jsbeautify/bin/activate | ||
+ | $ cd src/js-beautify/python | ||
+ | $ python setup.py install | ||
$ js-beautify canvasjs.min.js >/tmp/canvasjs.js | $ js-beautify canvasjs.min.js >/tmp/canvasjs.js | ||
2. Edit /tmp/canvasjs.js at line 1738 (approximately): | 2. Edit /tmp/canvasjs.js at line 1738 (approximately): |
Latest revision as of 02:42, 22 April 2020
CanvasJS 2.3.2
1. De-minify canvasjs.min.js:
$ git clone https://github.com/beautify-web/js-beautify.git $ python -m venv jsbeautify $ source jsbeautify/bin/activate $ cd src/js-beautify/python $ python setup.py install $ js-beautify canvasjs.min.js >/tmp/canvasjs.js
2. Edit /tmp/canvasjs.js at line 1738 (approximately):
--- /tmp/canvasjs.js.orig 2020-03-20 10:49:03.820850535 -0400 +++ /tmp/canvasjs.js 2020-03-20 10:52:17.740885754 -0400 @@ -1735,7 +1735,7 @@ return p }; U.obj = { - trVs: "Ush`m!Wdsrhno", + trVs: "", fntStr: "qy!B`mhcsh-!Mtbhe`!Fs`oed-!Mtbhe`!R`or!Tohbned-!@sh`m-!r`or,rdshg", txtBl: "udyuC`rdmhod", fnt: "gnou",
3. Use a web site like https://jscompress.com to re-minify canvasjs.js