Manually add @license to ba-linkify.js

Having any @license block at all is good. Actually including the
license, which the license text says we need to do, is better.

Change-Id: I6a83f5a43f9cf8607b74fab196b7539020d09760
This commit is contained in:
Dave Borowitz
2018-03-26 10:45:36 -04:00
parent 018481a119
commit b7eb19b8dd
2 changed files with 32 additions and 1 deletions

6
lib/ba-linkify/README.md Normal file
View File

@@ -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.

View File

@@ -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/