Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

requiring traceur overwrites System #171

Closed
@justinbmeyer

Description

@justinbmeyer

This line requires traceur:

https://github.com/ModuleLoader/es6-module-loader/blob/master/lib/loader.js#L186

Traceur overwrites System. So that later, when curSystem points to the current System at:

https://github.com/ModuleLoader/es6-module-loader/blob/master/lib/loader.js#L217

it's actually already pointing to Traceur's system. This prevents this code from setting System back.

I recommend moving this "System" saving code to the top of parse.

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