jsocol/django-waffle — pull request #49 by tobych (2012-08-31 20:34:44+00:00)
Title: Renames JavaScript functions to *_is_active, avoiding 'switch' #48

This is what I'm currently using in production. I imagine you'll need to offer backwards-compatibility as well though. Although people could just add aliases to the functions, I suppose.