Created
February 14, 2017 01:48
-
-
Save goofmint/fa3c97eb1b454817242f47cbbcac5b3c to your computer and use it in GitHub Desktop.
7.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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