Xterm.js: v3: is requirejs still supported?

Created on 5 Jan 2018  路  8Comments  路  Source: xtermjs/xterm.js

I'm only looking inside the addon folder that inside build and lib folders.
No addons has an umd wrapper.

Details

  • Browser and browser version: -
  • OS version: Windows 10
  • xterm.js version: v3

Steps to reproduce

  1. Just look at build/addons/fit.js for example
typbug

Most helpful comment

Just got on top of this. This should be fixed after https://github.com/xtermjs/xterm.js/pull/1199, since add-ons are compiled in UMD format. I think it's a good idea to publish another bugfix release for this.

All 8 comments

See https://github.com/xtermjs/xterm.js/pull/1130 for the changes/discussion. @parisk can confirm

I don't see any mention about requirejs... is there?
It seems to me that PR talks only about modules and commonjs way to import files.

It seems to me that also the browser usage for the addons is broken.

Please LMK if there鈥檚 anything I can do to help resolve this more quickly, as it鈥檚 a direct impediment to adoption of v3 for our team.

Ping @parisk

We're having the same problem. We're using the control inside an Angular 1.6 component so we include the fit addon from \dist in an html script tag. This no longer works because the UMD header is missing. I've made a temp workaround by creating my own version of the fit addon but obviously it would be great to be able to use the real thing.

Just got on top of this. This should be fixed after https://github.com/xtermjs/xterm.js/pull/1199, since add-ons are compiled in UMD format. I think it's a good idea to publish another bugfix release for this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

circuitry2 picture circuitry2  路  4Comments

pfitzseb picture pfitzseb  路  3Comments

kolbe picture kolbe  路  3Comments

goxr3plus picture goxr3plus  路  3Comments

Mlocik97-issues picture Mlocik97-issues  路  3Comments