mozilla-b2g/gaia — pull request #18446 by sfoster (2014-04-18 07:49:57+00:00)
Title: Refactor to prepare for more task-manager/rocketbar branching

Partial/minimum-viable refactor to move card switcher state and methods onto a cardSwitcher object, and encapsulate card state & methods in Card prototype/class. Gits diff belies the work I put into trying to change as little functional code as possible while setting the stage for the next steps in implementing the new task manager alonside the existing behavior.