Skip to content

Commit 819e009

Browse files
committed
Build 2.1.0
1 parent 1b43593 commit 819e009

14 files changed

+61
-28
lines changed

dist/Autolinker.js

Lines changed: 15 additions & 4 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: 2 additions & 2 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/data-37c869b09c553fe6b0ebad63d5e0c84b.js renamed to docs/api/data-f73357a0d8a5ea8c8aa10b6afe9ceaf6.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/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Autolinker v2.0.1 API Docs</title>
4+
<title>Autolinker v2.1.0 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="!">
@@ -13,7 +13,7 @@
1313
<link rel="stylesheet" href="styles-3eba09980fa05ead185cb17d9c0deb0f.css" type="text/css" />
1414

1515
<script type="text/javascript" src="extjs/ext-all.js"></script>
16-
<script type="text/javascript" src="data-37c869b09c553fe6b0ebad63d5e0c84b.js"></script>
16+
<script type="text/javascript" src="data-f73357a0d8a5ea8c8aa10b6afe9ceaf6.js"></script>
1717

1818
<script type="text/javascript" src="app-0c945a27f43452df695771ddb60b3d14.js"></script>
1919

@@ -22,9 +22,9 @@
2222
</head>
2323
<body id="ext-body">
2424

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

27-
<div id="header-content">Autolinker v2.0.1 API Docs</div>
27+
<div id="header-content">Autolinker v2.1.0 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 Thu 27 Dec 2018 17:54:03 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 27 Dec 2018 18:17:59 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/Autolinker.match.Phone.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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
* }
109109
*
110110
* case &#39;phone&#39; :
111-
* var phoneNumber = match.getNumber();
111+
* var phoneNumber = match.getPhoneNumber();
112112
* console.log( phoneNumber );
113113
*
114114
* return &#39;&lt;a href=&quot;http://newplace.to.link.phone.numbers.to/&quot;&gt;&#39; + phoneNumber + &#39;&lt;/a&gt;&#39;;
@@ -846,7 +846,7 @@
846846
*
847847
* Ex: 0.25.1
848848
*/
849-
Autolinker.version = &#39;2.0.1&#39;;
849+
Autolinker.version = &#39;2.1.0&#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/phone-match.html

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,28 @@
8181
PhoneMatch.prototype.getType = function () {
8282
return &#39;phone&#39;;
8383
};
84-
<span id='Autolinker-match-Phone-method-getNumber'> /**
84+
<span id='Autolinker-match-Phone-method-getPhoneNumber'> /**
8585
</span> * Returns the phone number that was matched as a string, without any
8686
* delimiter characters.
8787
*
8888
* Note: This is a string to allow for prefixed 0&#39;s.
8989
*
9090
* @return {String}
9191
*/
92-
PhoneMatch.prototype.getNumber = function () {
92+
PhoneMatch.prototype.getPhoneNumber = function () {
9393
return this.number;
9494
};
95+
<span id='Autolinker-match-Phone-method-getNumber'> /**
96+
</span> * Alias of {@link #getPhoneNumber}, returns the phone number that was
97+
* matched as a string, without any delimiter characters.
98+
*
99+
* Note: This is a string to allow for prefixed 0&#39;s.
100+
*
101+
* @return {String}
102+
*/
103+
PhoneMatch.prototype.getNumber = function () {
104+
return this.getPhoneNumber();
105+
};
95106
<span id='Autolinker-match-Phone-method-getAnchorHref'> /**
96107
</span> * Returns the anchor href that should be generated for the match.
97108
*

docs/dist/Autolinker.js

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

docs/dist/Autolinker.min.js

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "autolinker",
3-
"version": "2.0.1",
3+
"version": "2.1.0",
44
"description": "Utility to automatically link the URLs, email addresses, phone numbers, hashtags, and mentions (Twitter, Instagram) in a given block of text/HTML",
55
"main": "./dist/commonjs/index.js",
66
"typings": "./dist/commonjs/index.d.ts",

0 commit comments

Comments
 (0)