Commit Graph

30 Commits

Author SHA1 Message Date
John Crepezzi
6853d077e7 Merge branch 'master' into fix-content-type 2020-10-06 01:18:22 -04:00
John Crepezzi
181a3a2bfa Use the now-separate json mode for json highlighting
Closes #267
2020-10-06 00:36:41 -04:00
Mikołaj Pich
035cf0e91e
Fix content type 2018-12-22 15:11:37 +01:00
John Crepezzi
318c5f7ba6 Upgrade uglify and simplify usage
- Upgrade to the most recent version of uglify
- Use the `UglifyJS.minify(code)` helper which does exactly what we want
2017-10-31 21:19:22 -04:00
John Crepezzi
bf1dbb68b8 Fix eslint 2017-06-26 12:38:17 -04:00
John Crepezzi
af9a71549b Upgrade highlight.js
Also adds swift support

Closes #69
2016-09-12 20:10:15 -04:00
John Crepezzi
d1cd2a5213 Proper 2013-01-11 10:00:35 -08:00
John Crepezzi
46bdd27431 Fix for type name ;)
Closes #28
2012-12-19 08:17:52 -05:00
John Crepezzi
e0610bc1be Fix multiple document loading
Closes #32
2012-08-13 11:33:20 -04:00
John Crepezzi
13bb094fb3 Revert "Refactor frontend"
This reverts commit 1950cc8db0.
2012-03-19 18:17:39 -04:00
Michael Macias
1950cc8db0 Refactor frontend
* restructured JavaScript using backbone.js
* replaced highlight.js with CodeMirror for its editor
* added CodeMirror Solarized (dark) theme based on Ethan Schoonover's solarized.vim
* changed `POST /document` to accept real JSON
* cleaned up template and stylesheet
2012-02-18 02:40:56 -06:00
John Crepezzi
87e28548b9 Explicitly set encoding
Closes #24
2012-02-07 17:52:31 -05:00
John Crepezzi
ef96704f2c Basic coffeescript highlighting
From https://github.com/dnagir/highlightjs-coffeescript

Closes #2
2012-01-24 22:28:58 -05:00
John Crepezzi
047a686248 Open raw in same window 2012-01-23 11:40:09 -05:00
John Crepezzi
844a2efb02 Added support for raw button 2012-01-10 23:06:44 -05:00
Michael Macias
d87c3b7d61 Escape document when using the txt extension 2012-01-08 23:47:07 -06:00
Joe Friedl
6145a938e3 Error messages in the UI 2011-12-19 11:44:12 -06:00
John Crepezzi
3a6b36ebaa Working line number support - just waiting on a final color from @bridawson
[#5]
2011-12-15 21:27:23 -05:00
John Crepezzi
49bb449141 Back button fix 2011-12-15 14:23:09 -05:00
John Crepezzi
0f02d83d24 remove ^L for saving 2011-11-29 20:11:09 -05:00
John Crepezzi
615fedd6c7 Fix doctype 2011-11-29 13:40:13 -05:00
John Crepezzi
0e292ad21b support .txt type 2011-11-29 10:44:05 -05:00
John Crepezzi
9378f2b2e4 Automatically add file extensions 2011-11-29 10:39:12 -05:00
John Crepezzi
9157a0227d Remove clipboard 2011-11-28 13:02:48 -05:00
John Crepezzi
81c41c0f37 Put in compressed asset 2011-11-28 10:30:54 -05:00
John Crepezzi
895485e410 Fix highlighting bug 2011-11-28 00:54:24 -05:00
John Crepezzi
2a3a9046d8 Proper markdown highlighting 2011-11-27 23:39:09 -05:00
John Crepezzi
0875ba6252 Auto-compress javascript assets 2011-11-27 15:49:17 -05:00
John Crepezzi
4233e58995 Added copy URL functionality 2011-11-27 15:34:09 -05:00
John Crepezzi
d262c9f853 use compressed application.js 2011-11-25 10:28:26 -05:00