Skip to content

Instantly share code, notes, and snippets.

@luniki
Created October 25, 2012 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luniki/3952205 to your computer and use it in GitHub Desktop.
Save luniki/3952205 to your computer and use it in GitHub Desktop.
backbone re-enhance page
if @el.parentNode
parent = @$el.parent()
@$el.remove().appendTo(parent).page()
parent.append(@$el)
@$el.page()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment