Skip to content

Commit 6a2bf9e

Browse files
Merge pull request #35 from tomik23:style-refactoring
Style refactoring
2 parents 0bc7db2 + 0e545c9 commit 6a2bf9e

File tree

7 files changed

+59
-70
lines changed

7 files changed

+59
-70
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## v1.0.15 (2021-06-13)
2+
3+
### Chanded
4+
5+
- style refactoring, reducing the size of the library
6+
7+
## v1.0.14 (2021-06-10)
8+
9+
### Chanded
10+
11+
- update example
12+
113
## v1.0.13 (2021-06-17)
214

315
### Added

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ <h2>The leading color from the photo</h2>
183183
return widthWindow;
184184
},
185185

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

207-
onClosed: function (element) {
207+
onClose: function (element) {
208208
const descriptionText = document.getElementById('description');
209209
if (descriptionText) {
210210
descriptionText.classList.remove('animation-on');

docs/zooom.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/zooom.umd.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zooom",
3-
"version": "1.0.14",
3+
"version": "1.0.15",
44
"description": "The easiest way to zooming a photo",
55
"main": "docs/zooom.min.js",
66
"browser": "docs/zooom.umd.min.js",

0 commit comments

Comments
 (0)