morpheus.HelpMenu = function() {
var html = [];
html.push('
');
html
.push('');
html
.push('');
html.push('
');
this.$el = $(html.join(''));
this.$el.find('button').on('click', function(e) {
e.stopImmediatePropagation();
});
this.$el.find('[name=contact]').on('click', function(e) {
e.preventDefault();
e.stopPropagation();
e.stopImmediatePropagation();
window.open('mailto:morpheus@broadinstitute.org');
});
this.$el.find('[name=tutorial]').on('click', function(e) {
e.preventDefault();
e.stopPropagation();
e.stopImmediatePropagation();
window.open(morpheus.Util.URL + 'tutorial.html');
});
this.$el.find('[name=linking]').on('click', function(e) {
e.preventDefault();
e.stopPropagation();
e.stopImmediatePropagation();
window.open(morpheus.Util.URL + 'linking.html');
});
this.$el.find('[name=source]').on('click', function(e) {
e.preventDefault();
e.stopPropagation();
e.stopImmediatePropagation();
window.open('https://github.com/joshua-gould/morpheus.js');
});
};