Skip to content

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.

3 participants