{"action":"opened","issue":{"url":"https://api.github.com/repos/willowsystems/jSignature/issues/57","labels_url":"https://api.github.com/repos/willowsystems/jSignature/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/willowsystems/jSignature/issues/57/comments","events_url":"https://api.github.com/repos/willowsystems/jSignature/issues/57/events","html_url":"https://github.com/willowsystems/jSignature/issues/57","id":59221244,"number":57,"title":"Add a 'destroy' method","user":{"login":"tjcrowder","id":27634,"avatar_url":"https://avatars.githubusercontent.com/u/27634?v=3","gravatar_id":"","url":"https://api.github.com/users/tjcrowder","html_url":"https://github.com/tjcrowder","followers_url":"https://api.github.com/users/tjcrowder/followers","following_url":"https://api.github.com/users/tjcrowder/following{/other_user}","gists_url":"https://api.github.com/users/tjcrowder/gists{/gist_id}","starred_url":"https://api.github.com/users/tjcrowder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjcrowder/subscriptions","organizations_url":"https://api.github.com/users/tjcrowder/orgs","repos_url":"https://api.github.com/users/tjcrowder/repos","events_url":"https://api.github.com/users/tjcrowder/events{/privacy}","received_events_url":"https://api.github.com/users/tjcrowder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-27T10:58:15Z","updated_at":"2015-02-27T10:58:15Z","closed_at":null,"body":"Please add a 'destroy' method that removes all jSignature handlers, data, and generated DOM elements from the element on which you call it, restoring things to as they were originally. This is a fairly standard thing to have in jQuery plugins, was surprised not to find it, and unfortunately we really wanted this because our jSignature instances may be in a collapsed container, which when opened shows them at the wrong height; so we want to destroy and recreate in that case."}}