elision-helpers
v0.2.2
Published
Small collection of handy javascript functions.
Downloads
13
Readme
Available functions
addClass(element, className)
removeClass(element, className)
hasClass(element)
toggleClass(element, className)
getElementIndex(element, parentElement)
getStyle(element, styleName)
isNodeList(object)
isArray(object)
debounce(function, wait, immediate)
makeRequest(url, callback)
makePostRequest(url, data, callback)
parseSafeJSON(data)
addEvent(object, event, callback)