Hi Tim,
This exception is due to Javascript strict mode detecting an undeclared
variable. In previous commits, an undeclared variable was automatically
created when assigning a value to it.
The missing declaration will be added in the next commit. It is already
possible for you to remove "use strict"; at the very beginning of
xsltforms.js
Thank you for your feedback!
--Alain
Le 24/02/2016 19:27, Tim Thompson a écrit :
Hi, Alain,
I tried to use Javascript URIs recently (in <xf:load
resource="javascript: .."/>), but this feature seems to be broken in
the latest versions of XSLTForms. I had to revert to rev. 625 for it
to work.
In rev. 631, I get an XSLTForms exception:
XSLTForms Exception
--------------------------
Error evaluating the following Javascript expression :
if (!(typeof d3.selectAll('g.node') == 'undefined')) {
d3.selectAll('g.node').remove(); d3.selectAll('line.link').remove(); }
{ queueD3js('resources/data/nodes4.csv', 'resources/data/edges4.csv')}
ReferenceError: assignment to undeclared variable XsltForms_context
What do you think?
Tim
--
Tim A. Thompson
Metadata Librarian (Spanish/Portuguese Specialty)
Princeton University Library
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support