[whatwg] <script> features
Ian Hickson
ian at hixie.ch
Fri Mar 23 21:41:38 PDT 2012
On Fri, 23 Mar 2012, Jonas Sicking wrote:
>
> The whole point of this feature is to enable the js-code inside a loaded
> script to use the .currentScript property in order to find the <script>
> element in the DOM which loaded it.
Ah, ok. What's the use case for that?
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list