Raynes / refheap

The Reference Heap. A Clojure pastebin powered by Compojure, MongoDB, and Pygments.
129 stars 30 forks source link

embeded source error #100

Closed daewon closed 12 years ago

daewon commented 12 years ago

i'm using refheap's source to my tumblr. than i account error

'Uncaught ReferenceError: jQuery is not defined'

because tumblr use jQuery as variable names '$'

i think, fix the source "pastes.js"'s last line

(window, jQuery) ==> (window, jQuery || $)

Raynes commented 11 years ago

This should be fixed now. I added a real embedding mechanism similar to what gist uses. Please use it instead.