Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Passing Action/Func into JS?

$
0
0
Thanks - no I'm doing that. But the problem is I'm passing it to EventEmitter's on() method, which throws if it's not a function. So I guess I'll write a wrapper of some sort. Hopefully apply works...

Viewing all articles
Browse latest Browse all 2297

Trending Articles