PATCH: Allow Envjs.[before|after]ScriptLoad to capture all embeddedJS, not just external src
-
nickg
wow github must have a wiki bug.
-
Thatcher
ok, I'll buy this, the question is how to best implement it. Envjs can
make sure all script evaluations internally are managed from a single point,
we are actually relatively close, just need to include attribute event
callbacks like onclick=''.We could then provide a default '' (inline) implementation and allow the
user to change it. Event attribute callbacks may not fit as well but I'm
all ears. -
nickg
Hmm, right. I was thinking more of true script nodes, and not callbacks in attributes.
The first (and probably dumb way) would be to create a owner-less callback
If we are talking about a new API that might deprecate the current ones, then, I defer until tomorrow!
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.