diff --git a/lib/ba-linkify/README.md b/lib/ba-linkify/README.md new file mode 100644 index 0000000000..8c3e9a4066 --- /dev/null +++ b/lib/ba-linkify/README.md @@ -0,0 +1,6 @@ +This is the latest version of ba-linkify.js from: +https://github.com/cowboy/javascript-linkify/blob/178ffc271f89cef403faf73cabd74dda0a79af62/ba-linkify.js + +The file was modified manually to include a @license JSDoc tag. The file hasn't +been updated since 2009, but on the off chance you need to update it, please +make sure you include a @license. diff --git a/lib/ba-linkify/ba-linkify.js b/lib/ba-linkify/ba-linkify.js index 81dae5f74b..32fbea3e12 100644 --- a/lib/ba-linkify/ba-linkify.js +++ b/lib/ba-linkify/ba-linkify.js @@ -1,3 +1,28 @@ +/** + * @license + * Copyright (c) 2009 "Cowboy" Ben Alman + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ /*! * JavaScript Linkify - v0.3 - 6/27/2009 * http://benalman.com/projects/javascript-linkify/ @@ -211,4 +236,4 @@ window.linkify = (function(){ return html || txt; }; -})(); \ No newline at end of file +})();