Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"export" flag attribute documented in platform.js is actually "exportas" #64

Closed
JanMiksovsky opened this issue Feb 9, 2013 · 1 comment

Comments

@JanMiksovsky
Copy link

Minor discrepancy between code and comments: I was trying to get the various polyfill members exposed as a global by following the comments in platform.js, which indicate that you can do

<script src="platform.js" export=myglobal></script>

However, the actual flag is actually "exportas", not "export". (I wasn't sure whether the code or the comment should be fixed.)

@frankiefu
Copy link
Member

This feature has been removed. Each polyfill now exposes its own scope; e.g. Platform, CustomElements, HTMLImports, etc.

nevir pushed a commit to nevir/polymer that referenced this issue Oct 31, 2014
Cache window.ShadowDOMPolyfill value in closures
dfreedm pushed a commit that referenced this issue Sep 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants