Pull out logic for whether we should call preventDefault and the event queue code into separate functions. This allows a non-intrusive specialization option for handling of anchor link click events.
Pull out logic for whether we should call preventDefault and the event queue
code into separate functions. This allows a non-intrusive specialization option
for handling of anchor link click events.

See discussion thread: https://groups.google.com[]d/topic/jsaction/iCxMICbps4w/discussion

RELNOTES[NEW]: New API addition.

	Change on 2019/07/29 by ahaddox <ahaddox@google.com>

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=260567234

google/jsaction,google/jsaction