Skip to content

Instantly share code, notes, and snippets.

@goofmint

goofmint/index.js

Created Feb 14, 2017
Embed
What would you like to do?
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