• 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
..
arrays.html Loading commit data...
arrays.js Loading commit data...
base64.html Loading commit data...
base64.js Loading commit data...
browser.js Loading commit data...
canvas.html Loading commit data...
cursor.html Loading commit data...
face.png Loading commit data...
face.png.js Loading commit data...
input.html Loading commit data...
keyboard-tests.html Loading commit data...
run_from_console.casper.js Loading commit data...
run_from_console.js Loading commit data...
run_from_console.zombie.js Loading commit data...
stats.js Loading commit data...
test.base64.js Loading commit data...
test.helper.js Loading commit data...
test.keyboard.js Loading commit data...
test.util.js Loading commit data...
viewport.css Loading commit data...
viewport.html Loading commit data...
vnc_perf.html Loading commit data...
vnc_playback.html Loading commit data...