]> git.proxmox.com Git - mirror_xterm.js.git/commitdiff
Merge branch 'master' into 842_resize_buffers_bug
authorDaniel Imms <tyriar@tyriar.com>
Sun, 6 Aug 2017 17:25:38 +0000 (10:25 -0700)
committerGitHub <noreply@github.com>
Sun, 6 Aug 2017 17:25:38 +0000 (10:25 -0700)
src/addons/search/search.ts

index 5a227a8a1578064d6ffda27c395054d9fccc65b2..1a9ac33706c4d1b274633250035cd57611f5e87d 100644 (file)
@@ -20,8 +20,7 @@ declare var window: any;
     /**
      * CommonJS environment
      */
-    const xterm = '../../xterm';
-    module.exports = addon(require(xterm));
+    module.exports = addon(require('../../xterm'));
   } else if (typeof define == 'function') {
     /**
      * Require.js is available