Skip to content

Commit 3d1a322

Browse files
committed
Build 2.2.2
1 parent 3cc15e8 commit 3d1a322

31 files changed

+215
-684
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -530,9 +530,8 @@ To run the tests:
530530
yarn test
531531
```
532532
533-
- Make sure to add tests to cover your new functionality/bugfix.
534-
- Run the `yarn test` command to build/test (or alternatively, open the
535-
`tests/index.html` file to run the tests).
533+
- Make sure to add tests to cover your new functionality/bugfix
534+
- Run the `yarn test` command to build/test
536535
- Please use tabs for indents! Tabs are better for everybody
537536
(individuals can set their editors to different tab sizes based on
538537
their visual preferences).

dist/Autolinker.js

Lines changed: 45 additions & 198 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Autolinker.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Autolinker.min.js

Lines changed: 17 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Autolinker.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Autolinker v2.2.1 API Docs</title>
4+
<title>Autolinker v2.2.2 API Docs</title>
55
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
66
<meta http-equiv="X-UA-Compatible" content="chrome=1">
77
<meta name="fragment" content="!">
@@ -22,9 +22,9 @@
2222
</head>
2323
<body id="ext-body">
2424

25-
<div id="loading"><span class="title">Autolinker v2.2.1 API Docs</span><span class="logo"></span></div>
25+
<div id="loading"><span class="title">Autolinker v2.2.2 API Docs</span><span class="logo"></span></div>
2626

27-
<div id="header-content">Autolinker v2.2.1 API Docs</div>
27+
<div id="header-content">Autolinker v2.2.2 API Docs</div>
2828

2929
<div id='categories-content' style='display:none'>
3030
<div class='section'>
@@ -88,7 +88,7 @@ <h3>Others...</h3>
8888

8989

9090

91-
<div id='footer-content' style='display: none'>Generated on Fri 28 Dec 2018 00:20:21 by <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> 5.3.4.</div>
91+
<div id='footer-content' style='display: none'>Generated on Thu 10 Jan 2019 00:03:33 by <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> 5.3.4.</div>
9292

9393

9494

docs/api/output/Autolinker.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/output/global.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/source/Autolinker.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@
846846
*
847847
* Ex: 0.25.1
848848
*/
849-
Autolinker.version = &#39;2.2.1&#39;;
849+
Autolinker.version = &#39;2.2.2&#39;;
850850
<span id='Autolinker-AnchorTagBuilder'> /**
851851
</span> * For backwards compatibility with Autolinker 1.x, the AnchorTagBuilder
852852
* class is provided as a static on the Autolinker class.

docs/api/source/comment-node.html

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,8 @@
1616
</head>
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
19-
var __extends = (this &amp;&amp; this.__extends) || (function () {
20-
var extendStatics = function (d, b) {
21-
extendStatics = Object.setPrototypeOf ||
22-
({ __proto__: [] } instanceof Array &amp;&amp; function (d, b) { d.__proto__ = b; }) ||
23-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
24-
return extendStatics(d, b);
25-
};
26-
return function (d, b) {
27-
extendStatics(d, b);
28-
function __() { this.constructor = d; }
29-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30-
};
31-
})();
3219
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
var tslib_1 = require(&quot;tslib&quot;);
3321
var html_node_1 = require(&quot;./html-node&quot;);
3422
<span id='Autolinker-htmlParser-CommentNode'>/**
3523
</span> * @class Autolinker.htmlParser.CommentNode
@@ -42,7 +30,7 @@
4230
* details.
4331
*/
4432
var CommentNode = (function (_super) {
45-
__extends(CommentNode, _super);
33+
tslib_1.__extends(CommentNode, _super);
4634
<span id='Autolinker-htmlParser-CommentNode-method-constructor'> /**
4735
</span> * @method constructor
4836
* @param {Object} cfg The configuration options for this class, specified

docs/api/source/element-node.html

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,8 @@
1616
</head>
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
19-
var __extends = (this &amp;&amp; this.__extends) || (function () {
20-
var extendStatics = function (d, b) {
21-
extendStatics = Object.setPrototypeOf ||
22-
({ __proto__: [] } instanceof Array &amp;&amp; function (d, b) { d.__proto__ = b; }) ||
23-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
24-
return extendStatics(d, b);
25-
};
26-
return function (d, b) {
27-
extendStatics(d, b);
28-
function __() { this.constructor = d; }
29-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30-
};
31-
})();
3219
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
var tslib_1 = require(&quot;tslib&quot;);
3321
var html_node_1 = require(&quot;./html-node&quot;);
3422
<span id='Autolinker-htmlParser-ElementNode'>/**
3523
</span> * @class Autolinker.htmlParser.ElementNode
@@ -41,7 +29,7 @@
4129
* details.
4230
*/
4331
var ElementNode = (function (_super) {
44-
__extends(ElementNode, _super);
32+
tslib_1.__extends(ElementNode, _super);
4533
<span id='Autolinker-htmlParser-ElementNode-method-constructor'> /**
4634
</span> * @method constructor
4735
* @param {Object} cfg The configuration options for this class, specified

docs/api/source/email-match.html

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,8 @@
1616
</head>
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
19-
var __extends = (this &amp;&amp; this.__extends) || (function () {
20-
var extendStatics = function (d, b) {
21-
extendStatics = Object.setPrototypeOf ||
22-
({ __proto__: [] } instanceof Array &amp;&amp; function (d, b) { d.__proto__ = b; }) ||
23-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
24-
return extendStatics(d, b);
25-
};
26-
return function (d, b) {
27-
extendStatics(d, b);
28-
function __() { this.constructor = d; }
29-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30-
};
31-
})();
3219
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
var tslib_1 = require(&quot;tslib&quot;);
3321
var match_1 = require(&quot;./match&quot;);
3422
<span id='Autolinker-match-Email'>/**
3523
</span> * @class Autolinker.match.Email
@@ -40,7 +28,7 @@
4028
* See this class&#39;s superclass ({@link Autolinker.match.Match}) for more details.
4129
*/
4230
var EmailMatch = (function (_super) {
43-
__extends(EmailMatch, _super);
31+
tslib_1.__extends(EmailMatch, _super);
4432
<span id='Autolinker-match-Email-method-constructor'> /**
4533
</span> * @method constructor
4634
* @param {Object} cfg The configuration properties for the Match

docs/api/source/email-matcher.html

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,8 @@
1616
</head>
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
19-
var __extends = (this &amp;&amp; this.__extends) || (function () {
20-
var extendStatics = function (d, b) {
21-
extendStatics = Object.setPrototypeOf ||
22-
({ __proto__: [] } instanceof Array &amp;&amp; function (d, b) { d.__proto__ = b; }) ||
23-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
24-
return extendStatics(d, b);
25-
};
26-
return function (d, b) {
27-
extendStatics(d, b);
28-
function __() { this.constructor = d; }
29-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30-
};
31-
})();
3219
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
var tslib_1 = require(&quot;tslib&quot;);
3321
var matcher_1 = require(&quot;./matcher&quot;);
3422
var regex_lib_1 = require(&quot;../regex-lib&quot;);
3523
var tld_regex_1 = require(&quot;./tld-regex&quot;);
@@ -43,7 +31,7 @@
4331
* See this class&#39;s superclass ({@link Autolinker.matcher.Matcher}) for more details.
4432
*/
4533
var EmailMatcher = (function (_super) {
46-
__extends(EmailMatcher, _super);
34+
tslib_1.__extends(EmailMatcher, _super);
4735
function EmailMatcher() {
4836
var _this = _super !== null &amp;&amp; _super.apply(this, arguments) || this;
4937
<span id='Autolinker-matcher-Email-property-matcherRegex'> /**

docs/api/source/entity-node.html

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,8 @@
1616
</head>
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
19-
var __extends = (this &amp;&amp; this.__extends) || (function () {
20-
var extendStatics = function (d, b) {
21-
extendStatics = Object.setPrototypeOf ||
22-
({ __proto__: [] } instanceof Array &amp;&amp; function (d, b) { d.__proto__ = b; }) ||
23-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
24-
return extendStatics(d, b);
25-
};
26-
return function (d, b) {
27-
extendStatics(d, b);
28-
function __() { this.constructor = d; }
29-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30-
};
31-
})();
3219
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
var tslib_1 = require(&quot;tslib&quot;);
3321
var html_node_1 = require(&quot;./html-node&quot;);
3422
<span id='Autolinker-htmlParser-EntityNode'>/**
3523
</span> * @class Autolinker.htmlParser.EntityNode
@@ -46,7 +34,7 @@
4634
* details.
4735
*/
4836
var EntityNode = (function (_super) {
49-
__extends(EntityNode, _super);
37+
tslib_1.__extends(EntityNode, _super);
5038
function EntityNode() {
5139
return _super !== null &amp;&amp; _super.apply(this, arguments) || this;
5240
}

docs/api/source/hashtag-match.html

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,8 @@
1616
</head>
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
19-
var __extends = (this &amp;&amp; this.__extends) || (function () {
20-
var extendStatics = function (d, b) {
21-
extendStatics = Object.setPrototypeOf ||
22-
({ __proto__: [] } instanceof Array &amp;&amp; function (d, b) { d.__proto__ = b; }) ||
23-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
24-
return extendStatics(d, b);
25-
};
26-
return function (d, b) {
27-
extendStatics(d, b);
28-
function __() { this.constructor = d; }
29-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30-
};
31-
})();
3219
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
var tslib_1 = require(&quot;tslib&quot;);
3321
var match_1 = require(&quot;./match&quot;);
3422
<span id='Autolinker-match-Hashtag'>/**
3523
</span> * @class Autolinker.match.Hashtag
@@ -42,7 +30,7 @@
4230
* details.
4331
*/
4432
var HashtagMatch = (function (_super) {
45-
__extends(HashtagMatch, _super);
33+
tslib_1.__extends(HashtagMatch, _super);
4634
<span id='Autolinker-match-Hashtag-method-constructor'> /**
4735
</span> * @method constructor
4836
* @param {Object} cfg The configuration properties for the Match

docs/api/source/hashtag-matcher.html

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,8 @@
1616
</head>
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
19-
var __extends = (this &amp;&amp; this.__extends) || (function () {
20-
var extendStatics = function (d, b) {
21-
extendStatics = Object.setPrototypeOf ||
22-
({ __proto__: [] } instanceof Array &amp;&amp; function (d, b) { d.__proto__ = b; }) ||
23-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
24-
return extendStatics(d, b);
25-
};
26-
return function (d, b) {
27-
extendStatics(d, b);
28-
function __() { this.constructor = d; }
29-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30-
};
31-
})();
3219
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
var tslib_1 = require(&quot;tslib&quot;);
3321
var matcher_1 = require(&quot;./matcher&quot;);
3422
var regex_lib_1 = require(&quot;../regex-lib&quot;);
3523
var hashtag_match_1 = require(&quot;../match/hashtag-match&quot;);
@@ -40,7 +28,7 @@
4028
* Matcher to find HashtagMatch matches in an input string.
4129
*/
4230
var HashtagMatcher = (function (_super) {
43-
__extends(HashtagMatcher, _super);
31+
tslib_1.__extends(HashtagMatcher, _super);
4432
<span id='Autolinker-matcher-Hashtag-method-constructor'> /**
4533
</span> * @method constructor
4634
* @param {Object} cfg The configuration properties for the Match instance,

docs/api/source/index.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@
2020
// order to support nodejs interoperability with require(&#39;autolinker&#39;) directly.
2121
// This is done by the buildSrcFixCommonJsIndexTask() function in the gulpfile.
2222
// See that function for more details.
23-
function __export(m) {
24-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
25-
}
2623
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
24+
var tslib_1 = require(&quot;tslib&quot;);
2725
var autolinker_1 = require(&quot;./autolinker&quot;);
2826

2927
// Note: the following two lines are added by gulpfile.js&#39;s buildSrcFixCommonJsIndexTask() to allow require(&#39;autolinker&#39;) to work correctly
@@ -33,10 +31,10 @@
3331
exports.default = autolinker_1.default;
3432
var autolinker_2 = require(&quot;./autolinker&quot;);
3533
exports.Autolinker = autolinker_2.default;
36-
__export(require(&quot;./anchor-tag-builder&quot;));
37-
__export(require(&quot;./html-tag&quot;));
38-
__export(require(&quot;./match/index&quot;));
39-
__export(require(&quot;./matcher/index&quot;));
34+
tslib_1.__exportStar(require(&quot;./anchor-tag-builder&quot;), exports);
35+
tslib_1.__exportStar(require(&quot;./html-tag&quot;), exports);
36+
tslib_1.__exportStar(require(&quot;./match/index&quot;), exports);
37+
tslib_1.__exportStar(require(&quot;./matcher/index&quot;), exports);
4038

4139
//# sourceMappingURL=index.js.map
4240
</pre>

docs/api/source/index2.html

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,14 @@
1616
</head>
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
19-
function __export(m) {
20-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
21-
}
2219
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
23-
__export(require(&quot;./email-match&quot;));
24-
__export(require(&quot;./hashtag-match&quot;));
25-
__export(require(&quot;./match&quot;));
26-
__export(require(&quot;./mention-match&quot;));
27-
__export(require(&quot;./phone-match&quot;));
28-
__export(require(&quot;./url-match&quot;));
20+
var tslib_1 = require(&quot;tslib&quot;);
21+
tslib_1.__exportStar(require(&quot;./email-match&quot;), exports);
22+
tslib_1.__exportStar(require(&quot;./hashtag-match&quot;), exports);
23+
tslib_1.__exportStar(require(&quot;./match&quot;), exports);
24+
tslib_1.__exportStar(require(&quot;./mention-match&quot;), exports);
25+
tslib_1.__exportStar(require(&quot;./phone-match&quot;), exports);
26+
tslib_1.__exportStar(require(&quot;./url-match&quot;), exports);
2927

3028
//# sourceMappingURL=index.js.map
3129
</pre>

docs/api/source/index3.html

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,14 @@
1616
</head>
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
19-
function __export(m) {
20-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
21-
}
2219
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
23-
__export(require(&quot;./email-matcher&quot;));
24-
__export(require(&quot;./hashtag-matcher&quot;));
25-
__export(require(&quot;./matcher&quot;));
26-
__export(require(&quot;./mention-matcher&quot;));
27-
__export(require(&quot;./phone-matcher&quot;));
28-
__export(require(&quot;./url-matcher&quot;));
20+
var tslib_1 = require(&quot;tslib&quot;);
21+
tslib_1.__exportStar(require(&quot;./email-matcher&quot;), exports);
22+
tslib_1.__exportStar(require(&quot;./hashtag-matcher&quot;), exports);
23+
tslib_1.__exportStar(require(&quot;./matcher&quot;), exports);
24+
tslib_1.__exportStar(require(&quot;./mention-matcher&quot;), exports);
25+
tslib_1.__exportStar(require(&quot;./phone-matcher&quot;), exports);
26+
tslib_1.__exportStar(require(&quot;./url-matcher&quot;), exports);
2927

3028
//# sourceMappingURL=index.js.map
3129
</pre>

docs/api/source/mention-match.html

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,8 @@
1616
</head>
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
19-
var __extends = (this &amp;&amp; this.__extends) || (function () {
20-
var extendStatics = function (d, b) {
21-
extendStatics = Object.setPrototypeOf ||
22-
({ __proto__: [] } instanceof Array &amp;&amp; function (d, b) { d.__proto__ = b; }) ||
23-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
24-
return extendStatics(d, b);
25-
};
26-
return function (d, b) {
27-
extendStatics(d, b);
28-
function __() { this.constructor = d; }
29-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30-
};
31-
})();
3219
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
var tslib_1 = require(&quot;tslib&quot;);
3321
var match_1 = require(&quot;./match&quot;);
3422
<span id='Autolinker-match-Mention'>/**
3523
</span> * @class Autolinker.match.Mention
@@ -40,7 +28,7 @@
4028
* See this class&#39;s superclass ({@link Autolinker.match.Match}) for more details.
4129
*/
4230
var MentionMatch = (function (_super) {
43-
__extends(MentionMatch, _super);
31+
tslib_1.__extends(MentionMatch, _super);
4432
<span id='Autolinker-match-Mention-method-constructor'> /**
4533
</span> * @method constructor
4634
* @param {Object} cfg The configuration properties for the Match

0 commit comments

Comments
 (0)