[whatwg] <script> features

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.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 23 March 2012 21:41:38 UTC