I've been working on an electron, met with some difficulties at present.
I will a man named test. Through the iframe nested HTML page to my main page index. The HTML.
If I use electron run separately test. HTML can run
But when I was in the index. The HTML page loading test. The HTML page, I have no way to run
This problem I think for a long time, also don't know how to deal with
At present, I find that a paragraph, I in my index. The HTML and the test. The HTML are joined
<script SCR="./the require. Js "& gt; </script>
Require ("../js/electron/* * * *. Js ");
But the result is no way to run, error results as follows
Uncaught ReferenceError: the require is not defined
The at test. HTML: 108
I am a small white, I hope, can you help me, thank you ~