Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Destroy the Widget
(function ($) {
$.widget("custom.clicker", {
// the rest of the clicker is omitted
destroy: function () {
// Call the base destroy function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment