(function ($) {
	$.fn.examplePlugin = function (options) {
		return this.each(function() {
			var main = {
				options : $.extend(
					{
					},
					options
				),
				elements : {
					parent : null
				},
				values : {

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

			main.init($(this));
		});
	}
})(jQuery);
(function ($) {
	$.fn.examplePlugin = function (options) {
		return this.each(function() {
			var main = {
				options : $.extend(
					{
					},
					options
				),
				elements : {
					parent : null
				},
				values : {

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

			main.init($(this));
		});
	}
})(jQuery);
Revert "Adding this.update to this.init"
Revert "Adding this.update to this.init"

This reverts commit e58639ce60c11a602b716acb7dc2fe03f3c4ebc6.

Conflicts:
	js/jquery-example.js
