Permalink
Browse files

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

  • Loading branch information...
1 parent 3999af7 commit c18b3f3453c125128c1e08a1fdab1a8e9acae031 @rodneyrehm rodneyrehm committed Dec 29, 2012
Showing with 6 additions and 1 deletion.
  1. +2 −0 README.md
  2. +4 −1 src/jquery.contextMenu.js
View
@@ -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 ###
@@ -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);

0 comments on commit c18b3f3

Please sign in to comment.