Difference between revisions of "CanvasJS - Remove "Trial Version" Label"

From Nearline Storage
Jump to navigation Jump to search
(Created page with "==CanvasJS 2.3.2== 1. De-minify canvasjs.min.js: $ python -m venv jsbeautify $ source jsbeautify/bin/activate $ js-beautify canvasjs.min.js >/tmp/canvasjs.js 2. Edit /t...")
 
m
Line 6: Line 6:
 
   $ 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):
   U.obj = {
+
   --- /tmp/canvasjs.js.orig 2020-03-20 10:49:03.820850535 -0400
      <strong>trVs: "",</strong>
+
  +++ /tmp/canvasjs.js 2020-03-20 10:52:17.740885754 -0400
      fntStr: "qy!B`mhcsh-!Mtbhe`!Fs`oed-!Mtbhe`!R`or!Tohbned-!@sh`m-!r`or,rdshg",
+
  @@ -1735,7 +1735,7 @@
      txtBl: "udyuC`rdmhod",
+
              return p
      fnt: "gnou",
+
          };
      fSy: "ghmmRuxmd",
+
          U.obj = {
      fTx: "ghmmUdyu",
+
  -            trVs: "Ush`m!Wdsrhno",
      grClr: "fsdx",
+
  +            trVs: "",
      cntx: "buy",
+
              fntStr: "qy!B`mhcsh-!Mtbhe`!Fs`oed-!Mtbhe`!R`or!Tohbned-!@sh`m-!r`or,rdshg",
      tp: "unq"
+
              txtBl: "udyuC`rdmhod",
  };
+
              fnt: "gnou",
 
3. Use a web site like https://jscompress.com to re-minify canvasjs.js
 
3. Use a web site like https://jscompress.com to re-minify canvasjs.js

Revision as of 14:58, 20 March 2020

CanvasJS 2.3.2

1. De-minify canvasjs.min.js:

 $ python -m venv jsbeautify
 $ source jsbeautify/bin/activate
 $ 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