Prototyping arrays + dancer.js
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to extend array functionality but it doesn't play well with dancer.js
for instance:
Array.prototype.somethingrandom = function() {
};
after this the kick event stop working due the error
TypeError: this.sections[i].condition is not a function @ dancer.js:191
this.sections[i].condition is undefined.I could check in the dancer.js if .condition is undefined but what cause this problem?
for testing I'am using the very basic code from example section.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure using the basic example and the Array.prototype extension described in the issue. Start at dancer.js:191 and inspect how the kick event processes section conditions; done means identifying the interaction that makes condition unavailable and agreeing on a verified fix or documented limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100