Hi,

First - thanks for snapshot(), that makes things so much easier!


Now, I am using a website which uses new javascript features which are
not implemented yet in duktape.

Unfortunately that website is a private interface to my internet
provider so I cannot share it, but basically I have three problems :

 - they define some strings with "template literals", that are strings
that can span on multiple lines delimited with backticks, with some
different rules about variables expansion.
They do not use any variable in there but duktape chokes on the unknown
syntax in that file.

There is an open duktape issue for this one:
https://github.com/svaarala/duktape/issues/273

 - The second feature they use is the "let" keyword, that works kind of
like "var" except it scopes to a block delimited by curly braces.
This also has a duktape issue already:
https://github.com/svaarala/duktape/issues/2000


What would be the way to go forward with these two issues ?
I would suppose the best would be to work with duktape and implement
these there, I'll post on their issue tracker depending on what you
recommend.



 - With a local snapshot and these two issues worked around I have a last
problem with dropdown menues that is not specific to that site's js, I
picked some arbitrary example online to reproduce this one :
https://www.quackit.com/html/html_editors/scratchpad/preview.cfm?example=/bootstrap/bootstrap_3/tutorial/bootstrap_3_dropdowns

There you can see a single "About Us" button, but we see no js
associated with it when there should be.
I'm not sure how to debug that when there is no visible js error left.
I think it should associate it from the data-toggle attribute when
running the bootstrap.min.js script


Thanks,
-- 
Dominique

Reply via email to