From dbd2adf9f8c08d25313553033a3a6791b4fc0fcd Mon Sep 17 00:00:00 2001 From: Blake Grotewold Date: Sat, 3 Jan 2015 09:26:48 -0500 Subject: [PATCH] add Github to menu bar People should know that this great game is something they can contribute to. Closes #198 --- script/engine.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/script/engine.js b/script/engine.js index 6f8b61a..45423e9 100644 --- a/script/engine.js +++ b/script/engine.js @@ -171,6 +171,12 @@ .text(_('app store.')) .click(function() { window.open('https://itunes.apple.com/us/app/a-dark-room/id736683061'); }) .appendTo(menu); + + $('') + .addClass('menuBtn') + .text(_('github.')) + .click(function() { window.open('https://github.com/Continuities/adarkroom'); }) + .appendTo(menu); // Register keypress handlers $('body').off('keydown').keydown(Engine.keyDown);