I came upon a notation I'm not too familiar with and would like some direction to where to look.
the notation is "selector event" : function() {}
so for example
".elementClass change" : function() {}
This notation is for a key-value pair within an object. The specific example is for a function value belonging to a selector and event key. The function is then accessible using the key:
var obj = {
".elementClass change": function () {}
};
var func = obj[".elementClass change"];
condition ? true_expr : false_exprsyntax that gives you string if true, and an empty function otherwise.