Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add insert and replace methods #157

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Apr 23, 2013

  1. Don't block playlist remove for animations

    Blocking removes for animations makes for plenty of headaches and timing
    shenanigans.  Let's not do that.
    
    Instead, store a reference to the generated element on the playlist and
    original arrays and use that as the selector for removal and
    highlighting.
    pdf committed Apr 23, 2013
    Configuration menu
    Copy the full SHA
    afd1dea View commit details
    Browse the repository at this point in the history
  2. Add insert and replace methods

    Both methods take the arguments `index`, `media`, `playNow`.  The
    `insert` method adds the `media` to the playlist immediately preceeding
    the specified `index`.  The `replace` method `insert`s the `media`, then
    `remove`s the playlist entry that was previously at that position.
    pdf committed Apr 23, 2013
    Configuration menu
    Copy the full SHA
    03eabe3 View commit details
    Browse the repository at this point in the history