Inheritance diagram for burst.runtime.DomRuntime:
Static Public Member Functions
|void||readEvalAsync (String url, Function done_handler)|
|Load a script by dynamically creating a 'script' element. |
Load a script by dynamically creating a 'script' element.
If called before the current document has finished loading, it performs a
As written, this function has no provision for error handling (for example, an evaluation error in the loaded script). That might be done through an
When supported by the browser, we implement completion notification by setting an onload value on the script element. Otherwise it is implemented by simply creating another script element with inline content.
For some discussion, see Richard Cornford: http://groups.google.com/groups?selm=b4ocfi%24c5g%241%248300dec7%40news.demon.co.uk