• Solly Ross's avatar
    Cleanup: Util code · d21cd6c1
    Solly Ross authored
    File: util.js
    Tests Added: True (partial -- for logging and array push methods)
    Changes:
    - Fixed JSHint Errors (indentation, semicolons, global "use strict")
    - Made browser detection methods more readable
    - added some newline characters when appropriate for readability
    - throw Errors not strings!
    - Removed conf_defaults, and added make_properties and set_defaults
      instead (see below)
    
    The removal of conf_defaults and switch to make_properties and
    set_defaults is to facilitate the switch over to normal Javascript
    constructors instead of Crockford-style constructors.  Now, methods
    are added to the objects prototype (and thus make properties is called
    outside the constructor).
    d21cd6c1
Name
Last commit
Last update
..
chrome-app Loading commit data...
web-socket-js Loading commit data...
web-socket-js-project @ c0855c6c Loading commit data...
Orbitron700.ttf Loading commit data...
Orbitron700.woff Loading commit data...
base.css Loading commit data...
base64.js Loading commit data...
black.css Loading commit data...
blue.css Loading commit data...
des.js Loading commit data...
display.js Loading commit data...
input.js Loading commit data...
jsunzip.js Loading commit data...
keyboard.js Loading commit data...
keysym.js Loading commit data...
keysymdef.js Loading commit data...
logo.js Loading commit data...
playback.js Loading commit data...
rfb.js Loading commit data...
ui.js Loading commit data...
util.js Loading commit data...
websock.js Loading commit data...
webutil.js Loading commit data...