JavaScript/Notes/CustomEvents

From Noisebridge
Revision as of 14:45, 6 January 2014 by Garrett (talk | contribs) (Created page with "== Under Construction == An event is a function call that signifies something happened. <source language="javascript"> var TableSort = (function() { function TableSort(id) ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Under Construction

An event is a function call that signifies something happened.

<source language="javascript"> var TableSort = (function() {

function TableSort(id) {

 this.id = id;

}

TableSort.prototype = {

 sortBy : function(sortType) {
   if(!sortedBy
 }

}

return { getById })(); </source>