Closed Bartosz-D3V closed 7 years ago
Ahh.. really sorry.. so now that I'm looking at the actual issue, I don't think it is a mistake.. the [
]
is indicating that it's an optional argument, and not that it's expecting an array. hmm..
Essentially this: http://stackoverflow.com/questions/17132014/documentation-for-optional-parameters-in-javascript
Again, I initially agreed.. sorry I didn't look closer earlier.
Still, 👏 thanks for contributing.
Updated minor issue regarding API documentation. Context and arguments shall be preceded by a coma i.e. this.channel.trigger('someEvent', [arg1, arg2, arg3, etc.]);
Many thanks