Skip to content

Commit 785b739

Browse files
authored
Update dependencies
1 parent d5b3a6c commit 785b739

File tree

6 files changed

+31128
-11212
lines changed

6 files changed

+31128
-11212
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ node_modules/
55
npm-debug.log
66
yarn-error.log
77

8-
.cache/
8+
.parcel-cache/
99
dist/
1010
test/demo/.cache/
1111
test/demo/dist/

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.editorconfig
22
.gitignore
33
.prettierignore
4-
**/.cache
4+
**/.parcel-cache
55
**/dist
66
*.md

LICENSE.md renamed to LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2019 Vic Shóstak https://1wa.co
3+
Copyright (c) 2021 Vic Shóstak https://shostak.dev
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

index.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
2-
* Vic Shóstak <truewebartisans@gmail.com>
3-
* Copyright (c) 2019 True web artisans https://1wa.co
2+
* Copyright (c) 2021 Vic Shóstak <vic@shostak.dev> (https://shostak.dev)
43
* http://opensource.org/licenses/MIT The MIT License (MIT)
54
*
6-
* a2hs.js v0.4.5 at 13/05/2019
5+
* a2hs.js v0.5.0 at 06/09/2021
76
*
87
* Add to Home Screen
98
*
@@ -23,7 +22,7 @@
2322
* color: "white"
2423
* });
2524
*/
26-
var AddToHomeScreen = function(settings = {}) {
25+
var AddToHomeScreen = function (settings = {}) {
2726
// Container styles
2827
var backgroundColor = settings.backgroundColor || "#f9f9f9";
2928
var padding = settings.padding || "10px";
@@ -88,7 +87,7 @@ var AddToHomeScreen = function(settings = {}) {
8887
// Add class to container
8988
div.setAttribute("class", "a2hs__container");
9089
// Add onClick function
91-
div.onclick = function(event) {
90+
div.onclick = function (event) {
9291
// Prevent default click
9392
event.preventDefault();
9493
// Hide a2hs_message

0 commit comments

Comments
 (0)