Namespace: $_

$_

$_ Constructor function
Source:

Namespaces

dom
event
store

Methods

<static> $(selector, context) → {Object}

Simple DOM selector function
Parameters:
Name Type Argument Description
selector string
context Object <optional>
Source:
Returns:
Type
Object

<static> each(callback)

Iterates over a $_ object, applying a callback to each item
Parameters:
Name Type Description
callback function iteration callback
Source:

<static> get(url, data, success_callback, error_callback)

Sends a GET type ajax request
Parameters:
Name Type Argument Description
url string The url to retrieve
data Object get parameters to send
success_callback function callback called on success
error_callback function <optional>
callback called if there is an error
Source:

<static> post(url, data, success_callback, error_callback)

Sends a POST type ajax request
Parameters:
Name Type Argument Description
url string The url to post to
data Object post parameters to send
success_callback function callback called on success
error_callback function <optional>
callback called if there is an error
Source: