Methods
(static) deep_equal(obj1, obj2) → {boolean}
compare the equality of the two objects
Parameters:
Name | Type | Description |
---|---|---|
obj1 |
string | number | Object | object 1 |
obj2 |
string | number | Object | object 2 |
Returns:
true iff equal
- Type
- boolean
(static) on_double_press(key, callback)
helper function to abstract away double pressing a key
Parameters:
Name | Type | Description |
---|---|---|
key |
string | ex. KeyZ, KeyA |
callback |
function | a function to be called when double click happens |