From 1860ca58fdc365f0bd00dc477b7c86a7a8934872 Mon Sep 17 00:00:00 2001 From: nzbin Date: Tue, 17 Apr 2018 19:50:55 +0800 Subject: [PATCH] Release 0.8.1 --- README.md | 7 +++++-- dist/jquery.magnify.js | 2 +- docs/index.html | 6 +++--- docs/js/jquery.magnify.js | 2 +- package.json | 2 +- src/js/intro.js | 2 +- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 6a3fc6c..796ff3b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Magnify +[![Travis](https://img.shields.io/travis/nzbin/magnify.svg)](https://travis-ci.org/nzbin/magnify) +[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/nzbin/magnify) + Magnify is a jQuery plugin to view images just like in windows. [[ website ]](https://nzbin.github.io/magnify/) @@ -220,13 +223,13 @@ $("[data-magnify=gallery]").magnify({ beforeOpen: function(el){ // Will fire before modal is opened }, - afterOpen: function(el){ + opened: function(el){ // Will fire after modal is opened }, beforeClose: function(el){ // Will fire before modal is closed }, - afterClose: function(el){ + closed: function(el){ // Will fire after modal is closed } } diff --git a/dist/jquery.magnify.js b/dist/jquery.magnify.js index 2772b49..257db68 100644 --- a/dist/jquery.magnify.js +++ b/dist/jquery.magnify.js @@ -6,7 +6,7 @@ * | | | | _ | \_/ | |\ |_| |_| | | | * |__| |__|__| |__|\____/|_|__| \__|_____|__| |__| * - * jquery.magnify.js v0.8.0 + * jquery.magnify.js v0.8.1 * * A jQuery plugin to view images just like in windows * diff --git a/docs/index.html b/docs/index.html index 98c2eae..e88fd99 100644 --- a/docs/index.html +++ b/docs/index.html @@ -845,7 +845,7 @@

Options

dragHandle string - '' + ' '

The handle of draggable.

@@ -865,13 +865,13 @@

Events

beforeOpen: function(el){ // Will fire before modal is opened }, - afterOpen: function(el){ + opened: function(el){ // Will fire after modal is opened }, beforeClose: function(el){ // Will fire before modal is closed }, - afterClose: function(el){ + closed: function(el){ // Will fire after modal is closed } } diff --git a/docs/js/jquery.magnify.js b/docs/js/jquery.magnify.js index 2772b49..257db68 100644 --- a/docs/js/jquery.magnify.js +++ b/docs/js/jquery.magnify.js @@ -6,7 +6,7 @@ * | | | | _ | \_/ | |\ |_| |_| | | | * |__| |__|__| |__|\____/|_|__| \__|_____|__| |__| * - * jquery.magnify.js v0.8.0 + * jquery.magnify.js v0.8.1 * * A jQuery plugin to view images just like in windows * diff --git a/package.json b/package.json index 6a0afb8..c028d47 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "magnify", - "version": "0.8.0", + "version": "0.8.1", "description": "A jQuery plugin to view images just like in Windows", "main": "magnify.js", "homepage": "https://github.com/nzbin/magnify#readme", diff --git a/src/js/intro.js b/src/js/intro.js index 6ae6fd9..f5c1391 100644 --- a/src/js/intro.js +++ b/src/js/intro.js @@ -6,7 +6,7 @@ * | | | | _ | \_/ | |\ |_| |_| | | | * |__| |__|__| |__|\____/|_|__| \__|_____|__| |__| * - * jquery.magnify.js v0.8.0 + * jquery.magnify.js v0.8.1 * * A jQuery plugin to view images just like in windows *