Implements #2

* Added LICENSE & package.json for MIT License
* Added README & updated header comment to point to repo
This commit is contained in:
Lindsay Evans 2018-02-01 09:01:51 +11:00
parent d3d94af24d
commit 2eb9b5009e
4 changed files with 35 additions and 2 deletions

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 Lindsay Evans
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.

5
README.md Normal file
View File

@ -0,0 +1,5 @@
# outline.js
Removes CSS outlines in an accessible manner
Based on http://www.paciellogroup.com/blog/2012/04/how-to-remove-css-outlines-in-an-accessible-manner/

View File

@ -1,5 +1,4 @@
// outline.js
// based on http://www.paciellogroup.com/blog/2012/04/how-to-remove-css-outlines-in-an-accessible-manner/
/*! outline.js - https://github.com/lindsayevans/outline.js/ */
(function(d){
var style_element = d.createElement('STYLE'),

8
package.json Normal file
View File

@ -0,0 +1,8 @@
{
"name": "outline.js",
"version": "1.1.0",
"main": "outline.js",
"repository": "https://github.com/lindsayevans/outline.js",
"author": "Lindsay Evans <linz@linz.id.au>",
"license": "MIT"
}