Skip to content

Commit

Permalink
Merge pull request #35 from tomik23:style-refactoring
Browse files Browse the repository at this point in the history
Style refactoring
  • Loading branch information
tomickigrzegorz authored Oct 13, 2021
2 parents 0bc7db2 + 0e545c9 commit 6a2bf9e
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 70 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## v1.0.15 (2021-06-13)

### Chanded

- style refactoring, reducing the size of the library

## v1.0.14 (2021-06-10)

### Chanded

- update example

## v1.0.13 (2021-06-17)

### Added
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ <h2>The leading color from the photo</h2>
return widthWindow;
},

onOpening: function (element) {
onOpen: function (element) {
const nextSibling = element.nextElementSibling ? element.nextElementSibling : element.parentNode.nextElementSibling;
if (nextSibling && nextSibling.classList.contains('description')) {
const textContent = nextSibling.innerHTML;
Expand All @@ -204,7 +204,7 @@ <h2>The leading color from the photo</h2>
}
},

onClosed: function (element) {
onClose: function (element) {
const descriptionText = document.getElementById('description');
if (descriptionText) {
descriptionText.classList.remove('animation-on');
Expand Down
4 changes: 2 additions & 2 deletions docs/zooom.min.js

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

4 changes: 2 additions & 2 deletions docs/zooom.umd.min.js

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": "zooom",
"version": "1.0.14",
"version": "1.0.15",
"description": "The easiest way to zooming a photo",
"main": "docs/zooom.min.js",
"browser": "docs/zooom.umd.min.js",
Expand Down
Loading

0 comments on commit 6a2bf9e

Please sign in to comment.