Make all add-ons CommonJS importable
- Fix #52 - Rename `npm/nodejs project` documentation to `CommonJS environment`
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@
|
||||
(function (xterm) {
|
||||
if (typeof exports === 'object' && typeof module === 'object') {
|
||||
/*
|
||||
* npm/nodejs project
|
||||
* CommonJS environment
|
||||
*/
|
||||
module.exports = xterm.call(this);
|
||||
} else if (typeof define == 'function') {
|
||||
|
||||
Reference in New Issue
Block a user