Skip to content

Instantly share code, notes, and snippets.

@adamrneary
Created April 5, 2013 23:32
Show Gist options
  • Save adamrneary/5323488 to your computer and use it in GitHub Desktop.
Save adamrneary/5323488 to your computer and use it in GitHub Desktop.
renderPageGuide: ->
# remove any existing guide regardless
$('#tlyPageGuideWrapper').remove()
if @currentView.pageGuideContext?
pageGuideView = new PageGuideView(@currentView.pageGuideContext)
$('#pageguide-placeholder').html pageGuideView.render().el
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment