noVNC/include
Joel Martin 6f4b1e4071 Refactor dynamic script loading. Add util.js:load_scripts()
Related to issue/pulls:
https://github.com/kanaka/noVNC/issues/194
https://github.com/kanaka/noVNC/pull/201
https://github.com/kanaka/noVNC/pull/202

In IE9, the window.onload event can fire before dynamically loaded
scripts have finished loading. This can result in either WebSocket (in
the case of vnc_auto.html) or RFB (in the case of vnc.html) not being
defined at the point when window.onload is called.

- Move the load_scripts routine from vnc.js to util.js (so that
  websockify can use it too). Also, refactor to work when load_scripts
  is called by a script that itself uses load_scripts. When the whole
  chain of dynamically loaded scripts is finished then call
  window.onscriptsload. Use this mechanism in all the places that
  depend on dynamic loading of scripts: vnc.html, vnc_auto.html,
  websock.js, tests/vnc_playback.html, and tests/vnc_perf.html.

- Use the new window.onscriptsload handler instead of window.onload.

- Remove include/start.js and do the script loading and startup event
  handling in include/ui.js instead.
2012-10-17 11:58:12 -05:00
..
chrome-app tcp-client.js: after read, try read again. 2012-09-17 17:15:50 -05:00
web-socket-js Update websockify/websock.js. 2012-09-17 17:00:01 -05:00
Orbitron700.ttf Add local copy of Orbitron font. 2011-09-27 16:53:09 -05:00
Orbitron700.woff Add local copy of Orbitron font. 2011-09-27 16:53:09 -05:00
base.css Change noVNC license to from LGPLv3 to MPL 2.0 2012-10-15 13:35:00 -05:00
base64.js Refactoring hot blocks to help Chrome optimizing compiler. 2012-10-15 13:48:07 -05:00
black.css Change noVNC license to from LGPLv3 to MPL 2.0 2012-10-15 13:35:00 -05:00
blue.css Change noVNC license to from LGPLv3 to MPL 2.0 2012-10-15 13:35:00 -05:00
des.js include/des.js: trim some fat. 2010-09-30 11:17:52 -05:00
display.js Refactoring hot blocks to help Chrome optimizing compiler. 2012-10-15 13:48:07 -05:00
input.js Merge pull request #191 from takaha/altgr 2012-10-16 08:09:35 -07:00
jsunzip.js Refactoring hot blocks to help Chrome optimizing compiler. 2012-10-15 13:48:07 -05:00
logo.js Add logo, favicon. 2011-02-03 11:04:32 -06:00
playback.js Change noVNC license to from LGPLv3 to MPL 2.0 2012-10-15 13:35:00 -05:00
rfb.js Refactor dynamic script loading. Add util.js:load_scripts() 2012-10-17 11:58:12 -05:00
ui.js Refactor dynamic script loading. Add util.js:load_scripts() 2012-10-17 11:58:12 -05:00
util.js Refactor dynamic script loading. Add util.js:load_scripts() 2012-10-17 11:58:12 -05:00
websock.js Refactor dynamic script loading. Add util.js:load_scripts() 2012-10-17 11:58:12 -05:00
webutil.js Change noVNC license to from LGPLv3 to MPL 2.0 2012-10-15 13:35:00 -05:00