From 2e33848ad0cbc159c3d7ecfd35f4c3cc3ee8a6c5 Mon Sep 17 00:00:00 2001 From: Adeel Hussain Date: Wed, 29 Jan 2020 13:38:47 +0500 Subject: [PATCH] Exposed remove handler method --- src/api.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api.js b/src/api.js index 85f55d9..b43eaf3 100644 --- a/src/api.js +++ b/src/api.js @@ -18,6 +18,7 @@ annotorious.Annotorious.prototype['setActiveSelector'] = annotorious.Annotorious annotorious.Annotorious.prototype['setProperties'] = annotorious.Annotorious.prototype.setProperties; annotorious.Annotorious.prototype['showAnnotations'] = annotorious.Annotorious.prototype.showAnnotations; annotorious.Annotorious.prototype['showSelectionWidget'] = annotorious.Annotorious.prototype.showSelectionWidget; +annotorious.Annotorious.prototype['removeHandler'] = annotorious.Annotorious.prototype.removeHandler; /** Sets up the plugin namespace */ if (!window['annotorious'])