Skip to content

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

@JanMiksovsky

Description

@JanMiksovsky

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions