This website requires JavaScript.
Explore
Help
Sign in
atomaka
/
tack2us
Watch
1
Star
0
Fork
You've already forked tack2us
0
Code
Releases
Activity
ae9aecc2ab
tack2us
/
app
/
views
/
pastes
/
show.html.erb
2 lines
75 B
Text
Raw
Normal View
History
Unescape
Escape
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-07 02:08:41 -05:00
<div class="highlight"><pre><code><%= @paste.content %></code></pre></div>
Copy permalink