Skip to content

Instantly share code, notes, and snippets.

@goofmint
Created February 14, 2017 01:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goofmint/fa3c97eb1b454817242f47cbbcac5b3c to your computer and use it in GitHub Desktop.
Save goofmint/fa3c97eb1b454817242f47cbbcac5b3c to your computer and use it in GitHub Desktop.
7.md
(function($) {
var popupController = {
__name: 'PopupController',
'.modal click': function() {
sample.showPopup(true);
},
'.modeless click': function() {
sample.showPopup(false);
}
};
h5.core.expose(popupController);
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment