Author: Not specified Language: javascript
Description: Not specified Timestamp: 2016-05-04 14:31:17 +0000
View raw paste Reply
  1. var myModule = (function() {
  2.     var publicFunc = function() {
  3.     };
  4.  
  5.     $('.event-toggle').on('click', function (e) {
  6.         e.preventDefault();
  7.         e.stopPropagation();
  8.         publicFunc();
  9.     });
  10.  
  11.     return {
  12.         func: publicFunc
  13.     };
  14. })();
  15.  
View raw paste Reply