Skip to content

Commit

Permalink
get gist support back in #382 - but it is auto-saving which I'm not k…
Browse files Browse the repository at this point in the history
…een on
  • Loading branch information
remy committed Dec 20, 2012
1 parent 1d1ae10 commit c968a26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion public/js/chrome/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down
2 changes: 1 addition & 1 deletion views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ <h2>Keyboard Shortcuts</h2>
</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>
Expand Down

0 comments on commit c968a26

Please sign in to comment.