So my dilemma is that I don\'t want to write the same code twice. Once for the click event and another for the touchstart event.
touchstart
Here is the original co
This mini javascript libary (1.3 KB) can do all these things
https://github.com/Norair1997/norjs/
nor.event(["#first"], ["touchstart", "click"], [doSomething, doSomething]);