Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding export of internal functions and event handlers - Issue #101

  • Loading branch information...
commit c18b3f3453c125128c1e08a1fdab1a8e9acae031 1 parent 3999af7
@rodneyrehm rodneyrehm authored
Showing with 6 additions and 1 deletion.
  1. +2 −0  README.md
  2. +4 −1 src/jquery.contextMenu.js
View
2  README.md
@@ -110,6 +110,8 @@ $.contextMenu is published under the [MIT license](http://www.opensource.org/lic
* fixing key "watch" might translate to Object.prototype.watch in callbacks map - ([Issue 93](https://github.com/medialize/jQuery-contextMenu/issues/93))
* fixing menu and submenu width calculation - ([Issue 18](https://github.com/medialize/jQuery-contextMenu/issues/18))
* fixing unused variables - ([Issue 100](https://github.com/medialize/jQuery-contextMenu/issues/100))
+* adding export of internal functions and event handlers - ([Issue 101](https://github.com/medialize/jQuery-contextMenu/issues/101))
+
### 1.5.25 ###
View
5 src/jquery.contextMenu.js
@@ -1639,5 +1639,8 @@ $.contextMenu.fromMenu = function(element) {
// make defaults accessible
$.contextMenu.defaults = defaults;
$.contextMenu.types = types;
-window.menus = menus;
+// export internal functions - undocumented, for hacking only!
+$.contextMenu.handle = handle;
+$.contextMenu.op = op;
+
})(jQuery);
Please sign in to comment.
Something went wrong with that request. Please try again.