Dynamic jQuery UI Tabs with Backbone
Just what it says on the tin.
I’m doing some work with jQuery tabs, and ran into the problem of dynamically adding new tabs and removing old ones. Turns out I was ignoring the existing jQueryUI API for tabs, much thanks to this blog post.
So the question became, “How to properly set up Backbone.js views for this?”
This code is my answer.