choreographer-js icon indicating copy to clipboard operation
choreographer-js copied to clipboard

Nodes as selectors

Open brandondurham opened this issue 8 years ago • 0 comments

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

brandondurham avatar Nov 09 '16 19:11 brandondurham