]> git.proxmox.com Git - mirror_xterm.js.git/blobdiff - src/addons/attach/attach.js
Update documentation with cleaner license declaration
[mirror_xterm.js.git] / src / addons / attach / attach.js
index 769a7e53e0567c18254071ecf54f074c4a39b913..c2a7989b4ebe35014250c71bc2595795017f5103 100644 (file)
@@ -1,9 +1,7 @@
-/*
- * Implements the attach method, that
- * attaches the terminal to a WebSocket stream.
- *
- * The bidirectional argument indicates, whether the terminal should
- * send data to the socket as well and is true, by default.
+/**
+ * Implements the attach method, that attaches the terminal to a WebSocket stream.
+ * @module xterm/addons/attach/attach
+ * @license MIT
  */
 
 (function (attach) {
 })(function (Xterm) {
   'use strict';
 
-  /**
-   * This module provides methods for attaching a terminal to a WebSocket
-   * stream.
-   *
-   * @module xterm/addons/attach/attach
-   */
   var exports = {};
 
   /**