Hi Geoff
We're using two javascript libraries in rapid succession to demin.
They're located in third.js and Karl's code then addresses them.
The first one is called esprima, and it turns javascript into an abstract
syntax tree. The second is called escodegen, which does the reverse,
turns an abstract syntax tree into JS. But it just so happens that
escodegen demins what it converts! So in a way we are using a
sledgehammer to bonk a mosquito since it's a lot of code. But it does
amount to nice demin'ed javascript at the end of the day. Thank you Karl!
K
On Thu, 21 Sep 2017, Geoff McLane wrote:
Hi Karl,
Ok, using strstrCI compiled fine in Windows... thanks...
Now if I could find the actual code that demin's the code...
I found html.c[543], that does if (demin) run_function_onearg(cf->winobj,
"ed$demin", t->jv);, but still looking for the code...
I tried running -
$ edbrowse http://www.nasa.gov, and get -
15852
1839
lines 49 through 50 have been added
But then when I type showscipts(), I just get a ?
Likewise typing dumptree() gets me another ?
Obviously missing something here... sorry for being such a klutz... any help
appreciated...
Regards,
Geoff.
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
--------
Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev