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

"splice is not a function" fix on MEP.remove() [follow-up from #779 and #788] #799

Merged
merged 1 commit into from
Apr 10, 2013
Merged

Conversation

odnamrataizem
Copy link
Contributor

#788 tried to fix part of what #779 did, but didn't acknowledge that mejs.players is no longer an array, being an object now (a change introduced by #779). As such, remove() now throws a "splice is not a function" error at that point.

This fix replaces the line added by #788 with #779's equivalent, but preserves (and rectifies) the comment above.

#788 tried to fix part of what #779 did, but didn't acknowledge that
`mejs.players` is no longer an array, being an object now (a change
introduced by #779). As such, remove() now throws a "splice is not
defined" error at that point.

This fix replaces the line added by #788 with #779's equivalent, but
preserves (and rectifies) the comment above.
johndyer added a commit that referenced this pull request Apr 10, 2013
"splice is not a function" fix on MEP.remove() [follow-up from #779 and #788]
@johndyer johndyer merged commit 2a2ba4e into mediaelement:master Apr 10, 2013
@odnamrataizem odnamrataizem deleted the splicefix branch April 10, 2013 00:29
phuongdh pushed a commit to avalonmediasystem/mediaelement that referenced this pull request Oct 18, 2013
"splice is not a function" fix on MEP.remove() [follow-up from mediaelement#779 and mediaelement#788]
rexblack pushed a commit to rexblack/mediaelement that referenced this pull request May 22, 2014
"splice is not a function" fix on MEP.remove() [follow-up from mediaelement#779 and mediaelement#788]
rexblack pushed a commit to rexblack/mediaelement that referenced this pull request May 22, 2014
"splice is not a function" fix on MEP.remove() [follow-up from mediaelement#779 and mediaelement#788]
marmite22 pushed a commit to elucidat/mediaelement that referenced this pull request Dec 16, 2016
"splice is not a function" fix on MEP.remove() [follow-up from mediaelement#779 and mediaelement#788]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants