This commit is contained in:
Matteo Manzinello 2019-05-09 12:06:03 +02:00
parent d43d098cbc
commit 6bbbd64cc7
3 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@
mailgo will substitute all the `mailto:` links with the **mailgo modal**, in less than 7KB mailgo will substitute all the `mailto:` links with the **mailgo modal**, in less than 7KB
[![mailgo.min.js size](https://img.shields.io/github/size/manzinello/mailgo/dist/mailgo.min.js.svg?label=mailgo.min.js&style=flat-square)](https://cdn.jsdelivr.net/npm/mailgo@latest/dist/mailgo.min.js) [![mailgo.min.js size](https://img.shields.io/github/size/manzinello/mailgo/dist/mailgo.min.js.svg?label=mailgo.min.js&style=flat-square)](https://cdn.jsdelivr.net/npm/mailgo@0.2.2/dist/mailgo.min.js)
<img src="assets/img/screen-1.png" alt="mailgo modal" width="200"/> <img src="assets/img/screen-1.png" alt="mailgo modal" width="200"/>
@ -20,7 +20,7 @@ add at the end of the `<body>`
``` ```
<body> <body>
... ...
<script src="https://unpkg.com/mailgo@latest/dist/mailgo.min.js"></script> <script src="https://unpkg.com/mailgo@0.2.2/dist/mailgo.min.js"></script>
</body> </body>
``` ```
@ -29,7 +29,7 @@ you can also import mailgo in `<head>` using `defer`
``` ```
<head> <head>
... ...
<script src="https://unpkg.com/mailgo@latest/dist/mailgo.min.js" defer></script> <script src="https://unpkg.com/mailgo@0.2.2/dist/mailgo.min.js" defer></script>
</head> </head>
``` ```

View File

@ -1,6 +1,6 @@
{ {
"name": "mailgo", "name": "mailgo",
"version": "0.2.1", "version": "0.2.2",
"description": "a different mailto", "description": "a different mailto",
"scripts": { "scripts": {
"build": "gulp" "build": "gulp"

View File

@ -1,4 +1,4 @@
const version = "0.2.1"; const version = "0.2.2";
mailgoInit = () => { mailgoInit = () => {
const styleSheet = document.createElement("link"); const styleSheet = document.createElement("link");