Skip to content

Commit d298ead

Browse files
Update README.md
1 parent 604246a commit d298ead

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22

33
A simple library for image zooming; [as seen on Medium][medium-zoom-article].
44

5-
This is a fork of the [jQuery plugin by fat][fat-zoom]. This version does
6-
**not** depend on jQuery or any third-party libraries and is of equivalent file
7-
size.
5+
This is a fork of the [jQuery plugin by fat][fat-zoom]. These are the key differences:
6+
7+
1. No jQuery dependency; vanilla JavaScript only
8+
2. Equivalent file size (the minified version is slightly smaller due to better
9+
minification)
10+
3. Includes bug fixes not present in the original, since the original is no
11+
longer being maintained
812

913
**Live demo**: https://spinningarrow.github.io/zoom-vanilla.js
1014

@@ -16,7 +20,7 @@ will open the image in a new tab instead of zooming it.
1620

1721
## Usage
1822

19-
1. Download `dist/zoom-vanilla.min.js` and `css/zoom.css` from GitHub, or
23+
1. Download `dist/zoom-vanilla.min.js` and `dist/zoom.css` from GitHub, or
2024
install via npm by running `npm i zoom-vanilla.js`.
2125

2226
2. Add the `zoom-vanilla.min.js` and `zoom.css` files to your HTML page:

0 commit comments

Comments
 (0)