diff --git a/index.html b/index.html index 6e5e2ef..b0b7990 100644 --- a/index.html +++ b/index.html @@ -8,8 +8,8 @@ - - + + @@ -23,9 +23,9 @@

A modern approach to copy text to clipboard

No Flash. No dependencies. Just 2kb

- -

@@ -61,7 +61,7 @@ allowtransparency="true" frameborder="0" scrolling="0" width="156" height="30"><

Internally, we need to fetch all elements that matches with your selector and attach event listeners for each one. But guess what? If you have hundreds of matches, this operation can consume a lot of memory.

-

For this reason we use event delegation which replaces multiple event listeners with just a single listener. After all, #perfmatters.

+

For this reason we use event delegation which replaces multiple event listeners with just a single listener. After all, #perfmatters.

Usage

@@ -223,7 +223,7 @@ clipboard.on('error', function(e) { (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) - })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-4114546-44', 'auto'); ga('send', 'pageview');