Compare commits

...
Author SHA1 Message Date
Daniel Imms 217ed05606 Merge pull request #2426 from Tyriar/r401
v4.0.1
2019-09-12 14:57:08 -07:00
Daniel Imms 02aa803889 v4.0.1 2019-09-12 14:53:56 -07:00
Daniel Imms 9489bd8c5c Merge pull request #2418 from Tyriar/2417_edge_links
Fix web links addon support in Edge
2019-09-11 14:37:54 -07:00
Daniel Imms 324dc8d4dc Fix web links addon support in Edge
regex.flags isn't supported on Edge

Fixes #2417
2019-09-11 14:35:36 -07:00
Daniel Imms 70ecec3c92 Merge pull request #2416 from Tyriar/window_export
Expose ctor at window.Terminal
2019-09-11 08:54:18 -07:00
Daniel Imms e0997b51e1 Expose ctor at window.Terminal
Fixes #2415
2019-09-11 08:51:01 -07:00
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "xterm", "name": "xterm",
"description": "Full xterm terminal, in your browser", "description": "Full xterm terminal, in your browser",
"version": "4.0.0", "version": "4.0.1",
"main": "lib/xterm.js", "main": "lib/xterm.js",
"style": "css/xterm.css", "style": "css/xterm.css",
"types": "typings/xterm.d.ts", "types": "typings/xterm.d.ts",
+1 -1
View File
@@ -211,7 +211,7 @@ export class Linkifier implements ILinkifier {
*/ */
private _doLinkifyRow(rowIndex: number, text: string, matcher: ILinkMatcher): void { private _doLinkifyRow(rowIndex: number, text: string, matcher: ILinkMatcher): void {
// clone regex to do a global search on text // clone regex to do a global search on text
const rex = new RegExp(matcher.regex.source, matcher.regex.flags + 'g'); const rex = new RegExp(matcher.regex.source, (matcher.regex.flags || '') + 'g');
let match; let match;
let stringIndex = -1; let stringIndex = -1;
while ((match = rex.exec(text)) !== null) { while ((match = rex.exec(text)) !== null) {
-1
View File
@@ -35,7 +35,6 @@ module.exports = {
output: { output: {
filename: 'xterm.js', filename: 'xterm.js',
path: path.resolve('./lib'), path: path.resolve('./lib'),
library: 'Terminal',
libraryTarget: 'umd' libraryTarget: 'umd'
}, },
mode: 'production' mode: 'production'