Michael Drake 82b298ac2c Ensure we do on-demand JS context creation only when JS is enabled.
An alternative approach which may be better would be to create the
JavaScript context when the html_content is created, rather than
on demand.

This code checks for the JS context and creates one every time we
add a node to the DOM.  So when JS is on, every doc with a single
node in it has a JS context.  This seems to make on-demand creation
a redundant overhead.
2016-01-21 14:51:17 +00:00
..
2016-01-21 14:09:57 +00:00
2015-05-28 16:08:46 +01:00
2015-05-28 16:08:46 +01:00
2015-02-26 17:05:12 +00:00
2015-05-28 16:08:46 +01:00
2015-05-28 16:08:46 +01:00