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

Make add-ons load Terminal from dist #304

Merged
merged 3 commits into from
Oct 10, 2016
Merged

Make add-ons load Terminal from dist #304

merged 3 commits into from
Oct 10, 2016

Conversation

parisk
Copy link
Contributor

@parisk parisk commented Oct 5, 2016

Make add-ons load Terminal from dist, or else they will break on environments with module systems that do not support ES2015 modules.

I also tweaked the tests to made sure that the dist constructor gets overloaded, even if loadAddon is being called from src/xterm.js. I am not quite happy with this hack though 😕 .

Fix #305.

@Tyriar
Copy link
Member

Tyriar commented Oct 5, 2016

Some addon tests are failing

@parisk
Copy link
Contributor Author

parisk commented Oct 8, 2016

Working on this right now.

@parisk parisk changed the title Make add-ons load the latest built version Make add-ons load Terminal from dist Oct 8, 2016
@parisk
Copy link
Contributor Author

parisk commented Oct 8, 2016

Test are passing @Tyriar, can you please take another look at this?

@parisk parisk merged commit 050a349 into master Oct 10, 2016
@Tyriar Tyriar deleted the update-addons-paths branch October 31, 2016 19:01
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

Successfully merging this pull request may close these issues.

2 participants