]> git.proxmox.com Git - mirror_xterm.js.git/blobdiff - src/addons/linkify/linkify.js
Update documentation with cleaner license declaration
[mirror_xterm.js.git] / src / addons / linkify / linkify.js
index 2140c0aa65969d4ad5ebeeda42902db106f584cc..d23910261ddcc016ceb2870f0b999bd2ce4a1ca1 100644 (file)
@@ -1,3 +1,9 @@
+/**
+ * Methods for turning URL subscrings in the terminal's content into links (`a` DOM elements).
+ * @module xterm/addons/linkify/linkify
+ * @license MIT
+ */
+
 (function (linkify) {
   if (typeof exports === 'object' && typeof module === 'object') {
     /*
 })(function (Xterm) {
   'use strict';
 
-  /**
-   * This module provides methods for convertings valid URL substrings
-   * into HTML anchor elements (links), inside a terminal view.
-   *
-   * @module xterm/addons/linkify/linkify
-   */
   var exports = {},
       protocolClause = '(https?:\\/\\/)',
       domainCharacterSet = '[\\da-z\\.-]+',