term.js
term.js copied to clipboard
Support Content-Security-Policy without inline styles
When Content-Security-Policy is strictly enforced in browsers, one cannot have inline javascript (in HTML) or inline styles in the HTML style attributes.
This commit makes term.js work with these newer security measures.
To enable set 'Terminal.useStyle' and include a relevant stylesheet in the hosting project's CSS files.