Skip to content

Instantly share code, notes, and snippets.

@panSarin
Created December 16, 2012 12:34
Show Gist options
  • Select an option

  • Save panSarin/4306794 to your computer and use it in GitHub Desktop.

Select an option

Save panSarin/4306794 to your computer and use it in GitHub Desktop.
$ ->
$(window).on 'mercury:ready', ->
document_container = $('.document_container')
Mercury.saveUrl = document_container.data('save-url')
Mercury.saveMethod = document_container.data('save-method')
console.debug Mercury.saveMethod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment