Permalink
Browse files

get gist support back in #382 - but it is auto-saving which I'm not k…

…een on
  • Loading branch information...
1 parent 1d1ae10 commit c968a26e27a7219185531afe45ddfb8970245247 @remy remy committed Dec 20, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 lib/routes.js
  2. +1 −1 public/js/chrome/app.js
  3. +1 −1 views/index.html
View
@@ -43,6 +43,7 @@ module.exports = function (app) {
// Set up the routes.
app.get('/', binHandler.getDefault);
+ app.get('/gist/*', binHandler.getDefault);
app.post('/', binHandler.getFromPost);
// Login/Create account.
@@ -10,7 +10,7 @@ if (/gist\/\d+/.test(window.location.pathname) && (!sessionStorage.getItem('java
if (editors.ready) {
loadGist();
} else {
- editors.onReady = loadGist;
+ $document.on('jsbinReady', loadGist);
}
}
View
@@ -331,7 +331,7 @@
</tr>
<tr><td colspan="2"><small><br>JS Bin also supports <a href="https://github.com/sergeche/zen-coding" target="_blank">Emmet/Zen Coding</a> shortcuts (except tab key)</small></td></tr>
- <tr><td colspan="2"><small><br><input type="checkbox" id="enablealt"> Use "cmd + alt + key" instead of "cmd + key" (refresh required)</small></td></tr>
+ <tr><td colspan="2"><small><br><input type="checkbox" id="enablealt"> <label for="enablealt">Use "cmd + alt + key" instead of "cmd + key" (refresh required)</label></small></td></tr>
</tbody>
</table>
</div>

0 comments on commit c968a26

Please sign in to comment.