Commit graph

17 commits

Author SHA1 Message Date
9870038644 Merge branch 'atomaka/feature/syntax-highlighting' into 'master'
Syntax Highlighting

Implement syntax highlighting using highlight.js.  This is the simplest method for implementing syntax highlighting.  Consider moving the line numbering into Ruby code instead of handling it through JavaScript.
2014-03-09 15:29:18 -04:00
6933084926 Add line numbers
Line numbers are not supported by highlight.js.  This is hacked in through
JavaScript.  At page load, the number of new line characters are counted in the
code element.  Then, JavaScript loops through and adds a number and line break
to an empty div that is floated left.  This gives the appearence of line
numbers.
2014-03-09 15:25:15 -04:00
ae9aecc2ab Deal with turbolinks
$document().ready is only called when the DOM completes loading.  Since
turbolinks loads new data into the DOM without completely reloading, the ready
event is never fired.  We can account for this by using the page:load event.
2014-03-09 06:36:23 -04:00
09b173ca40 Setup highlight.js 2014-03-09 06:35:37 -04:00
13e75e2aa6 Merge branch 'atomaka/feature/layout-flow' into 'master'
Layout Flow

Random fixes, but mostly setup the layout so it can flow for testing.
2014-02-27 19:54:07 -05:00
1b7268f456 Improve layout flow / tests 2014-02-27 19:52:48 -05:00
9d2afc431a Use factory girl (poorly?) 2014-02-14 16:40:15 -05:00
f2dbc7f981 Add inital base paste functionality 2014-02-14 15:54:54 -05:00
268db267ed Fix deprecation warning 2014-02-14 15:54:54 -05:00
bfc61df335 Fix code to twitter bootstrap 3 2014-02-14 15:54:54 -05:00
29c97151cf Fix bootstrap install mistakes 2014-02-14 15:54:54 -05:00
b0bbe9c7ae Use thin instead of webrick
Slightly more information with thin
2014-02-14 15:54:53 -05:00
5d0772b0fc Add rb-readline for linux 2014-02-14 15:54:53 -05:00
5c49f8d25c Use spork instead of spring
Conflicts:
	Guardfile
	spec/spec_helper.rb
2014-02-14 15:54:53 -05:00
2d4e7e59a6 Use spork instead of spring 2014-02-14 15:54:53 -05:00
f80dddba6a Gemfile updates and gem setup 2014-02-14 15:54:53 -05:00
f73eb2d4d7 rails new tack2us 2014-02-14 15:54:53 -05:00