Permalink
Browse files

Switch to MIT license and add full list of files to main prop in bowe…

…r.json
  • Loading branch information...
1 parent f1e2137 commit e3528a8383eebbc32dafbdf9f28a80e4bf005625 @lokesh committed Jun 17, 2015
Showing with 42 additions and 12 deletions.
  1. +21 −0 LICENSE
  2. +6 −3 README.md
  3. +15 −9 bower.json
View
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015 Lokesh Dhakar
+
+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.
View
@@ -2,17 +2,19 @@
The original lightbox script. Eight years later — still going strong!
+Lightbox is small javascript library used to overlay images on top of the current page. It's a snap to setup and works on all modern browsers.
+
For demos and usage instructions, visit [lokeshdhakar.com/projects/lightbox2/](http://lokeshdhakar.com/projects/lightbox2/).
by [Lokesh Dhakar](http://www.lokeshdhakar.com)
## License
-<span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" property="dct:title" rel="dct:type">lightbox2</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
+Lightbox2 is licensed under The MIT License.
-- **100% Free.** Lightbox is free to use in both personal and commercial work.
-- **Attribution is required.** This means, leaving the author name, author homepage link, and the license info intact. None of these items have to be user-facing and can remain alongside the code.
+- **100% Free.** Lightbox is free to use in both commercial and non-commercial work.
+- **Attribution is required.** This means you must leave my name, my homepage link, and the license info intact. None of these items have to be user-facing and can remain alongside the code.
## Roadmap
@@ -25,6 +27,7 @@ by [Lokesh Dhakar](http://www.lokeshdhakar.com)
- [Add] maxWidth and maxHeight options added [#197](https://github.com/lokesh/lightbox2/pull/197)
- [Add] Enable target attribute in caption links [#299](https://github.com/lokesh/lightbox2/pull/299)
+- [Change] Switched to The MIT License from Creative Commons Attribution 4.0 International License.
- [Change] Add lightbox.css to bower.json main property
- [Change] Dropped version property from bower.json. [#453](https://github.com/lokesh/lightbox2/pull/453)
- [Fix] Remove empty src attribute from img tag [#287](https://github.com/lokesh/lightbox2/pull/287)
View
@@ -1,28 +1,34 @@
{
- "name": "lightbox",
+ "name": "lightbox2",
"homepage": "http://lokeshdhakar.com/projects/lightbox2/",
"authors": [
"Lokesh Dhakar <lokesh.dhakar@gmail.com>"
],
"description": "The original Lightbox script. Uses jQuery.",
"main": [
- "js/lightbox.js",
- "css/lightbox.css"
+ "./dist/js/lightbox.js",
+ "./dist/css/lightbox.css",
+ "./dist/images/close.png",
+ "./dist/images/loading.gif",
+ "./dist/images/next.png",
+ "./dist/images/prev.png"
],
"keywords": [
"lightbox",
+ "lightbox2",
"overlay",
- "jquery",
"gallery",
+ "slideshow",
"images"
],
- "license": "CC BY 2.5",
+ "license": "MIT",
"ignore": [
"**/.*",
"Gruntfile.js",
"node_modules",
- "bower_components",
- "test",
- "tests"
- ]
+ "bower_components"
+ ],
+ "dependencies": {
+ "jquery": "~2.1.4"
+ }
}

0 comments on commit e3528a8

Please sign in to comment.