Skip to content

Commit

Permalink
Release v1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
techfg committed Dec 31, 2024
1 parent 388946a commit 2eec486
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 25 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
- Zoom to Area
- Make callback data structures consistent

## Version 1.9.2 - 2024.12.31

- [Issue 427](https://github.com/jamietre/ImageMapster/issues/427) 🐞 imagemapster is not bound to an image map when imagemapster is "re"-initialized
- chore: migrate remark & prettier config to mjs

## Version 1.9.1 - 2024.12.27

- chore: improve eslint config & fix issues
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ImageMapster",
"version": "1.9.1",
"version": "1.9.2",
"homepage": "https://jamietre.github.io/ImageMapster",
"description": "jQuery plugin that activates areas in HTML image maps with support for highlighting, selecting, tooltips, resizing and more",
"main": "dist/jquery.imagemapster.min.js",
Expand Down
11 changes: 7 additions & 4 deletions dist/jquery.imagemapster.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* imagemapster - v1.9.1 - 2024-12-27
* imagemapster - v1.9.2 - 2024-12-31
* https://jamietre.github.io/ImageMapster
* Copyright (c) 2011 - 2024 James Treworgy
* License: MIT
Expand Down Expand Up @@ -223,7 +223,7 @@
(function ($) {
'use strict';

var mapster_version = '1.9.1';
var mapster_version = '1.9.2';

// all public functions in $.mapster.impl are methods
$.fn.mapster = function (method) {
Expand Down Expand Up @@ -1240,8 +1240,11 @@
if (md) {
me.unbind.apply(img);
if (!md.complete) {
// will be queued
return true;
// in most situations, queueCommand should return true since we just queued unbind, however
// if not successfully queued, nothing remains in-process so we can continue
if (m.queueCommand(md, img, 'bind', [options])) {
return true;
}
}
md = null;
}
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.imagemapster.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jquery.imagemapster.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/jquery.imagemapster.min.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jquery.imagemapster.min.mjs.map

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions dist/jquery.imagemapster.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* imagemapster - v1.9.1 - 2024-12-27
* imagemapster - v1.9.2 - 2024-12-31
* https://jamietre.github.io/ImageMapster
* Copyright (c) 2011 - 2024 James Treworgy
* License: MIT
Expand Down Expand Up @@ -199,7 +199,7 @@ function imagemapsterFactory(jQuery) {
(function ($) {
'use strict';

var mapster_version = '1.9.1';
var mapster_version = '1.9.2';

// all public functions in $.mapster.impl are methods
$.fn.mapster = function (method) {
Expand Down Expand Up @@ -1216,8 +1216,11 @@ function imagemapsterFactory(jQuery) {
if (md) {
me.unbind.apply(img);
if (!md.complete) {
// will be queued
return true;
// in most situations, queueCommand should return true since we just queued unbind, however
// if not successfully queued, nothing remains in-process so we can continue
if (m.queueCommand(md, img, 'bind', [options])) {
return true;
}
}
md = null;
}
Expand Down
11 changes: 7 additions & 4 deletions dist/jquery.imagemapster.zepto.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* imagemapster - v1.9.1 - 2024-12-27
* imagemapster - v1.9.2 - 2024-12-31
* https://jamietre.github.io/ImageMapster
* Copyright (c) 2011 - 2024 James Treworgy
* License: MIT
Expand Down Expand Up @@ -290,7 +290,7 @@
(function ($) {
'use strict';

var mapster_version = '1.9.1';
var mapster_version = '1.9.2';

// all public functions in $.mapster.impl are methods
$.fn.mapster = function (method) {
Expand Down Expand Up @@ -1307,8 +1307,11 @@
if (md) {
me.unbind.apply(img);
if (!md.complete) {
// will be queued
return true;
// in most situations, queueCommand should return true since we just queued unbind, however
// if not successfully queued, nothing remains in-process so we can continue
if (m.queueCommand(md, img, 'bind', [options])) {
return true;
}
}
md = null;
}
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.imagemapster.zepto.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jquery.imagemapster.zepto.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "imagemapster",
"version": "1.9.1",
"version": "1.9.2",
"description": "jQuery plugin that activates areas in HTML image maps with support for highlighting, selecting, tooltips, resizing and more",
"main": "dist/jquery.imagemapster.min.js",
"module": "dist/jquery.imagemapster.min.mjs",
Expand Down

0 comments on commit 2eec486

Please sign in to comment.