/*global $,console */
(function ($) {
	'use strict';
	$.fn.exampleInteraction = function () { // function (options)
		return this.each(function() {
			var main = {
				/*options : $.extend({},options),*/
				elements : {
					parent : null
				},
				/*values : {},*/
				init : function (el) {
					var that = this;

					this.elements.parent = el;
					this.elements.parent.on('click.exampleInteraction', function (event) {
						event.preventDefault();
						event.stopPropagation();
						// Your stuff here
						console.log($(this));
						that.update();
					});
				}
			};

			main.init($(this));
		});
	};
}($));

// You may want to move this someplace else
$(document).ready(function() {
	'use strict';
	$('.js-exampleInteraction').exampleInteraction();
});

@@ -557,30 +557,8 @@
 );%0D%0A
-%09%09%09%09%09%09that.update();%0D%0A
 %09%09%09%09

Update main.js