Skip to content

Instantly share code, notes, and snippets.

@DavertMik
Created May 8, 2013 13:48
Show Gist options
  • Save DavertMik/5540534 to your computer and use it in GitHub Desktop.
Save DavertMik/5540534 to your computer and use it in GitHub Desktop.
kango.main.js
function Mailican() {
var self = this;
kango.ui.browserButton.setPopup({url:'popup.html', width: 400, height: 400 });
kango.ui.browserButton.addEventListener(kango.ui.browserButton.event.COMMAND, function(){self._onCommand();});
}
Mailican.prototype = {
_onCommand: function() {
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment