choreographer-js
choreographer-js copied to clipboard
Nodes as selectors
I was having trouble passing in a node as the selector (instead of a string for ID or Class). The final else
in the if statement should have caught it but didn’t, so I added this.config.selector.nodeType > 0
as an initial check.
Let me know if you feel there might be a better way to pull this off!
— Brandon