Commit Graph

88 Commits

Author SHA1 Message Date
Andrew Lorente 9fc659be67 Declare function-local variables properly
Variables inside if-clauses are indeed hoisted to the top of the
enclosing scope. It's bad form to make `var` declarations inside an
if-clause.

sel is now function-local, rather than global :(
2014-07-23 14:21:24 -07:00
Andrew Lorente cfff6616e6 Refactor to reduce nesting 2014-07-23 13:27:03 -07:00
Andrew Lorente f9558a34fa Don't capture control-tab events.
It's annoying not to be able to tab away from the page!
2014-07-23 11:29:23 -07: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
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 83959a77fc Fix bottom margin issue on box 2011-11-28 19:58:27 -05:00
John Crepezzi 9157a0227d Remove clipboard 2011-11-28 13:02:48 -05:00
John Crepezzi 8eca87ce03 Change image 2011-11-28 10:50:33 -05:00
John Crepezzi 96b3249b09 Change image colors 2011-11-28 10:32:33 -05:00
John Crepezzi 81c41c0f37 Put in compressed asset 2011-11-28 10:30:54 -05:00
John Crepezzi 52198b97b2 Get rid of the CSS #key .box* nonsense 2011-11-28 09:56:06 -05:00
John Crepezzi 17897e8155 remove static jquery copy 2011-11-28 09:54:31 -05:00
John Crepezzi f651c30981 Merge branch 'master' of codeplane.com:seejohnrun/haste-server
Conflicts:
	TODO.md
2011-11-28 09:48:28 -05:00
John Crepezzi 9e046ba8eb Added the arrow pointer in 2011-11-28 09:42:26 -05:00
John Crepezzi 1ed980150c Fix annoying chrome dual-load bug 2011-11-28 01:27:41 -05:00
John Crepezzi 895485e410 Fix highlighting bug 2011-11-28 00:54:24 -05:00
John Crepezzi 0ea5b65eba Use about.md instead of about 2011-11-27 23:41:18 -05:00