dist/jcanvas.js
function _addLayerEvent($canvas, data, layer, eventName) {
	// Use touch events if appropriate
	// eventName = _getMouseEventName(eventName);
	// Bind event to layer
	jCanvas.events[eventName]($canvas, data);
	layer._event = true;
}
function _addLayerEvent($canvas, data, layer, eventName) {
	// Use touch events if appropriate
	// eventName = _getMouseEventName(eventName);
	// Bind event to layer
	jCanvas.events[eventName]($canvas, data);
	layer._event = true;
}
function _addLayerEvent ( $canvas , data , layer , eventName ) { // Use touch events if appropriate // eventName = _getMouseEventName(eventName); // Bind event to layer jCanvas . events [ eventName ] ( $canvas , data ) ; layer . _event = true ; }
Initialize the given event on the given layer
Initialize the given event on the given layer