]> git.proxmox.com Git - mirror_xterm.js.git/commit - addons/attach/package.json
Extend Xterm prototype only when `Xterm` is a function
authorParis <paris@sourcelair.com>
Tue, 3 May 2016 09:36:21 +0000 (12:36 +0300)
committerParis <paris@sourcelair.com>
Tue, 3 May 2016 09:36:21 +0000 (12:36 +0300)
commitfff56eea1b5bf00961587d6af9d148bb41992c27
tree84de90f0e17ff70c7c25ea0b8032dcd6e8e667df
parentbd2158613ddfe2da930f691f04d5aea674c78e5f
Extend Xterm prototype only when `Xterm` is a function

Add-ons attempted to extend the `Xterm` prototype no matter what. This was an issue when importing add-ons through CommonJS, where `Xterm` is not available in the global scope.
addons/attach/attach.js
addons/attach/package.json [new file with mode: 0644]
addons/fit/fit.js
addons/fit/package.json [new file with mode: 0644]
addons/fullscreen/fullscreen.js
addons/fullscreen/package.json [new file with mode: 0644]
addons/linkify/linkify.js
addons/linkify/package.json [new file with mode: 0644]