(function($, jQuery) {
	jQuery.fn.scrumMaster = function(options) {
		options = jQuery.extend({}, jQuery.fn.scrumMaster.options, options);

		$(options.pokerCardsShowButton).on('click', function(event) {
			var pushData = {
				type: 'show-cards'
			};
			window.managedSocket.send(JSON.stringify(pushData));
		});

		$(options.pokerCardsResetButton).on('click', function(event) {
			var pushData = {
				type: 'reset-cards'
			};
			window.managedSocket.send(JSON.stringify(pushData));
		});
	};	

	jQuery.fn.scrumMaster.options = {
		pokerCardsShowButton: null,
		pokerCardsResetButton: null
	};
})(jQuery, jQuery);
@@ -377,37 +377,145 @@
 t) %7B%0A%09%09%09var 
-pushData = %7B%0A
+reallyDelete,%0A%09%09%09%09pushData;%0A%0A%09%09%09reallyDelete = confirm('Wirklich leeren?');%0A%09%09%09if (reallyDelete) %7B%0A%09%09%09%09var pushData = %7B%0A%09
 %09%09%09%09type: 'r
@@ -521,35 +521,37 @@
 reset-cards'%0A%09%09%09
+%09
 %7D;%0A
+%09
 %09%09%09window.manage
@@ -586,24 +586,29 @@
 pushData));%0A
+%09%09%09%7D%0A
 %09%09%7D);%0A%09%7D;%09%0A%0A

security question for emptying