Skip to content

Instantly share code, notes, and snippets.

@davidpadbury
Created September 4, 2009 10:39
Show Gist options
  • Save davidpadbury/180823 to your computer and use it in GitHub Desktop.
Save davidpadbury/180823 to your computer and use it in GitHub Desktop.
if (typeof(ProvenWorks) === 'undefined') var ProvenWorks = {};
(function($) {
ProvenWorks.IndustryComplete = new function() {
var self = this;
function buttonClicked() {
alert("You've clicked a button!");
};
self.init = function() {
$(':button').click(buttonClicked);
}
};
})(jQuery);
jQuery(ProvenWorks.IndustryComplete.init);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment