The API docs for HTMLImports says

In a native HTML Imports, document.currentScript.ownerDocument references 
> the import document itself. In the polyfill use 
> document._currentScript.ownerDocument (note the underscore).


Given the changes to HTMLImports in this release, is this still suppose to 
work in 0.1.4?  

After upgrading to 0.1.4, inside a script tag in my import file 
document.currentScript is null while document._currentScript is undefined.  

Changing my code to get the doc from HTMLImports.currentScript fixed 
everything for me.  

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/b54b3d93-54b8-48d7-8a6c-8239656aaf92%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to