e4998cb94c
Fix textarea not resizing to 100%
...
With declaration of doctype the textarea element did not resize to 100% height anymore due to HTML5 compliance mode changes
2021-04-06 10:16:32 +02:00
c00f65a385
Improve HTML and mobile viewing slightly
...
* Add DOCTYPE declaration
* Set proper viewport scaling for mobile viewing
* Remove some tag closing not needed for HTML5
2021-02-14 20:34:46 +00:00
zneix
509971c5ac
Switched to proper babel-minify lib
...
I Decided to remove static asset compression from actual code to make runtime faster and moved it to package.json script which only builds application once on installation.\nAfter this commit, after every update that changed static/application.js, you also need to run npm run-script build after git pull
2020-09-20 18:18:38 +02:00
twiclo
f8c3a58b3a
Updated highlightjs to support many more languages ( #6 )
...
We updated highlight.min.js library to newer version (v9.12.0 -> 10.2.0) and added support for many languages. Updated extensionMap accordingly and also removed from it some unnecessary aliases, like 'json' since they are already natively supported by highlight.min.js library.
There also a new documentation page under docs/languages.md which lists all supported aliases.
2020-09-18 16:19:34 +02:00
zneix
3d501c980f
Made app.js proper Class, added support for non-absolute path
...
Something that would solve relevant upstream issues/prs: seejohnrun/haste-server#53 seejohnrun/haste-server#140
2020-09-05 18:13:49 +02:00
zneix
d303416dba
fixed eslint formatting
2020-08-28 23:57:50 +02:00
zneix
e4eeec3d27
Updated eslint rules
2020-08-28 04:39:03 +02:00
zneix
78aabf90bb
Refactored static files compression
2020-08-26 16:04:20 +02:00
zneix
c585e3b815
Huge refactor, switched to express
2020-08-26 04:54:58 +02: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
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