Commit graph

6 commits

Author SHA1 Message Date
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
5c49f8d25c Use spork instead of spring
Conflicts:
	Guardfile
	spec/spec_helper.rb
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