Skip to content

Commit cd6852f

Browse files
committed
Package cleanup, amend license details
1 parent f14f672 commit cd6852f

12 files changed

+118
-203
lines changed

Gruntfile.js

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
module.exports = function(grunt) {
22

33
grunt.initConfig({
4-
pkg: grunt.file.readJSON('package.json'),
4+
pkg: grunt.file.readJSON('easyzoom.jquery.json'),
55
uglify: {
6+
options: {
7+
banner: [
8+
'/*!',
9+
' * @name <%= pkg.name %>',
10+
' * @author <%= pkg.author.name %> <<%= pkg.author.url %>>',
11+
' * @modified <%= grunt.template.today("dddd, mmmm dS, yyyy") %>',
12+
' * @version <%= pkg.version %>',
13+
' */'
14+
].join('\n')
15+
},
616
dist: {
717
files: [
818
{

LICENSE

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright 2013 Matt Hinchliffe
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.markdown

-43
This file was deleted.

README.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# EasyZoom jQuery image zoom plugin
2+
3+
[EasyZoom][1] is an elegant, highly optimised [jQuery][2] image zoom and panning plugin based on the [original work][3] by [Alen Grakalic][4]. EasyZoom supports touch-enabled devices including the iPhone and iPad.
4+
5+
## Dependencies
6+
7+
jQuery 1.7+
8+
9+
## Issues
10+
11+
Have a bug? Please report an issues on the [Github project page][1]
12+
13+
https://github.com/i-like-robots/EasyZoom/issues
14+
15+
## Versioning
16+
17+
The current version is `2.0.0b`. Releases will be numbered in following format:
18+
19+
`<major>.<minor>.<patch>`
20+
21+
## License
22+
23+
This work is licensed under a [MIT License][5].
24+
25+
## Authors
26+
27+
This jQuery plugin was written by [Matt Hinchliffe][6].
28+
29+
[1]: http://github.com/i-like-robots/EasyZoom/
30+
[2]: http://www.jquery.com
31+
[3]: http://cssglobe.com/lab/easyzoom/easyzoom.html
32+
[4]: http://grakalic.com
33+
[5]: http://opensource.org/licenses/MIT
34+
[6]: http://maketea.co.uk

css/example.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ ul, ol {
6060

6161
button,
6262
a.button {
63-
font-size: 1.5em;
63+
font-size: 1.2em;
6464
line-height: 1;
6565
padding: .25em .5em;
6666
border: none;

dist/easyzoom.js

+6-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

documentation.html

-129
This file was deleted.

easyzoom.jquery.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
22
"name": "EasyZoom",
33
"version": "2.0.0",
4-
"title": "EasyZoom",
4+
"title": "EasyZoom, jQuery image zoom plugin",
55
"description": "EasyZoom is an elegant, highly optimised jQuery image zoom and panning plugin based on the original work by Alen Grakalic.",
66
"keywords": [
77
"zoom",
8-
"fly-out",
9-
"image-zoom"
8+
"image",
9+
"flyout",
10+
"panning"
1011
],
1112
"author": {
1213
"name": "Matt Hinchliffe",
13-
"email": "[email protected]",
1414
"url": "http://maketea.co.uk"
1515
},
1616
"licenses": [
1717
{
18-
"type": "CC BY-SA 3.0",
19-
"url": "http://creativecommons.org/licenses/by-sa/3.0/"
18+
"type": "MIT",
19+
"url": "http://opensource.org/licenses/MIT"
2020
}
2121
],
2222
"bugs": "https://github.com/i-like-robots/EasyZoom/issues",

0 commit comments

Comments
 (0)