Merge pull request #91 from leighlawhon/patch-2

needs a data-counter
This commit is contained in:
Ilya Kantor 2017-07-13 23:43:22 +03:00 committed by GitHub
commit 362483e37f

View file

@ -186,7 +186,7 @@ For instance, here the attribute `data-counter` adds a behavior: "increase on cl
```html run autorun height=60 ```html run autorun height=60
Counter: <input type="button" value="1" data-counter> Counter: <input type="button" value="1" data-counter>
One more counter: <input type="button" value="2"> One more counter: <input type="button" value="2" data-counter>
<script> <script>
document.addEventListener('click', function(event) { document.addEventListener('click', function(event) {