Commit graph

102 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
John Crepezzi
1ba025328d Update highlight JS to the most recent version 2020-10-06 00:07:07 -04:00
epdn
f6084b4339
remove 1px margin from textarea, fixes useless scrollbar 2020-05-18 09:34:57 +01:00
John Crepezzi
b866c33c93
Merge pull request #173 from sebastiansterk/master
removed padding for #box for correct view
2019-04-05 17:30:42 -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
584b66bc66 Upgrade highlight.js 2017-10-31 19:48:55 -04:00
Sebastian Sterk
f8db455f74 removed padding for #box for correct view 2017-10-13 15:13:04 +02:00
John Crepezzi
bf1dbb68b8 Fix eslint 2017-06-26 12:38:17 -04:00
John Crepezzi
03dd611a86 Fix horizontal scroll overflow
Caused by highlight.js upgrade
2016-09-30 09:57:46 -05:00
John Crepezzi
f24376b192 Merge pull request #129 from Wohlstand/patch-1
Fix working error under Firefox
2016-09-19 09:36:56 -04:00
Vitaly Novichkov
eea359d0ec Update index.html
Short charset command better for HTML5
2016-09-13 15:11:20 +04:00
John Crepezzi
af9a71549b Upgrade highlight.js
Also adds swift support

Closes #69
2016-09-12 20:10:15 -04:00
Vitaly Novichkov
8afb53e77e Fix working error under Firefox
On some computers because undeclared charset, highlight.min.js parsing incorrectly while some charsets (For example, Cyrillic-1251) are toggled. Problem is going away when I manually toggling Europan or UTF-8 charset.
2016-08-03 14:15:58 +04:00
Thibault Buathier
d6d9cf40f9 Compatibility with screen reader 2016-07-30 16:15:53 +02:00
Thibault Buathier
1010a142e2 Compatibility with screen reader 2016-07-30 16:15:26 +02:00
John Crepezzi
202e695e07 Remove GA from index.html on Master 2013-10-31 08:44:33 -04:00
John Crepezzi
d1cd2a5213 Proper 2013-01-11 10:00:35 -08:00
John Crepezzi
5d8bd2e6f8 Merge branch 'master' into production 2012-12-29 18:15:32 -05:00
naftis
e37c3cf1b9 Bugfix to solarized_dark.css
Fixed bug with font-style: italic and WebKit.
WebKit makes line-height bigger, when italic is used.
2012-12-28 16:11:21 +02:00
John Crepezzi
afb0c332cc Added shift modifier to twitter shortcut
Closes #29
2012-12-23 10:53:53 -05:00
John Crepezzi
46bdd27431 Fix for type name ;)
Closes #28
2012-12-19 08:17:52 -05:00
John Crepezzi
54e55b1b0d Added JSON to extension map (JS)
Closes #28
2012-12-19 08:12:08 -05:00
John Crepezzi
035f09ac05 GA 2012-09-27 13:43:53 -04:00
John Crepezzi
e0610bc1be Fix multiple document loading
Closes #32
2012-08-13 11:33:20 -04:00
John Crepezzi
962976c204 Pad the right 2012-06-22 15:33:07 -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
90cfe0ec57 Upgrade jquery to 1.7.1 2012-02-07 17:52:48 -05: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
347ba57ad3 Merge branch 'raw_icon' 2012-01-23 11:38:36 -05:00
Brian Dawson
d2bd78956b Merge branch 'master' of github.com:seejohnrun/haste-server
Conflicts:
	static/function-icons.png
2012-01-22 23:42:41 -05:00
Brian Dawson
1fe81d2447 update function icons 2012-01-22 23:41:40 -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
Brian Dawson
31a701d491 updated icon set to include "raw/just text" 2012-01-09 00:41:30 -05:00
Joe Friedl
6145a938e3 Error messages in the UI 2011-12-19 11:44:12 -06:00
John Crepezzi
14a23388a8 Added non-standard but desirable robots.txt 2011-12-16 08:18:04 -05:00
John Crepezzi
8add4917d5 Change the line number color 2011-12-15 21:48:48 -05: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
242d8475cf Update static/solarized_dark.css 2011-12-12 16:40:47 -05:00
John Crepezzi
2fdcd316f7 Added a favicon 2011-11-29 20:24:53 -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
4e20ea078f Added html5 doctype 2011-11-29 13:13:10 -05:00
John Crepezzi
15bd62836b Change how twitter link is built 2011-11-29 12:06:49 -05:00