diff --git a/docs/index.html b/docs/index.html index c66b883..920e04a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -99,7 +99,7 @@

HTML

data-ioaa-repeat - false + false True or False, not required @@ -152,7 +152,7 @@

CSS

diff --git a/docs/ioaa.min.js b/docs/ioaa.min.js new file mode 100644 index 0000000..d70cc80 --- /dev/null +++ b/docs/ioaa.min.js @@ -0,0 +1 @@ +export default function ioaa(t=".ioaa"){document.querySelector("body");let e=new IntersectionObserver(function(t,r){t.forEach(t=>{var e,a=t.target.getAttribute("data-ioaa-animation");null!==a&&(e="true"==t.target.getAttribute("data-ioaa-repeat"),0e.observe(t))} \ No newline at end of file diff --git a/package.json b/package.json index e72686f..397d1a9 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "doc": "docs" }, "scripts": { - "build": "gulp", + "build": "gulp && cp dist/ioaa.min.js docs/ioaa.min.js", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": {