Module $_
Defined in: core.js.
Field Summary
Method Summary
Field Detail
$_.store
Wrapper for localstorage / sessionstorage data serialization. Each method has a boolean parameter, that when set as true switches the method to use sessionStorage rather than the default localStorage.
Defined in: store.js.
Method Detail
$_.$(string, object): object
Simple DOM selector function
Parameters:
string | selector | |
object | context |
Returns:
object |
$_.ext(string, object)
Adds the property `obj` to the $_ object, calling it `name`
Parameters:
string | name | |
object | obj |
$_.each(function)
Iterates over a $_ object, applying a callback to each item
Parameters:
function | callback |
$_.type(mixed): string
Retrieves the type of the passed variable
Parameters:
mixed | obj |
Returns:
string |
$_.get(string, object, function)
Sends a GET type ajax request
Defined in: ajax.js.
Parameters:
string | url | |
object | data | |
function | callback |
$_.post(string, object, function)
Sends a POST type ajax request
Defined in: ajax.js.
Parameters:
string | url | |
object | data | |
function | callback |