figwheel

general discussion about figwheel, specific discussions in #figwheel-main and #lein-figwheel
Yehonathan Sharvit 2017-01-05T07:23:50.000019Z

I’d like to have an html page that tests my app and according to some url param it will load the fig version of the code or the production version of the code

Yehonathan Sharvit 2017-01-05T07:24:24.000020Z

I tried to write a script that checks the url param and load either figwheel or the production script but I got this error

Yehonathan Sharvit 2017-01-05T07:24:26.000021Z

> It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened.

Yehonathan Sharvit 2017-01-05T07:25:54.000027Z

The reason is that the javascript file generated by figwheel uses document.write

Yehonathan Sharvit 2017-01-05T07:25:59.000028Z

Who can help?

Yehonathan Sharvit 2017-01-05T16:10:11.000030Z

@bhauman can you help with my issue above?