Browse Source

Fixed typo in README example

pull/60/head
Daniel Guillan 10 years ago
parent
commit
c7068275a1
  1. 4
      README.md

4
README.md

@ -92,9 +92,9 @@ The callback will be passed the element that has been updated and what the updat
echo.init({ echo.init({
callback: function(element, op) { callback: function(element, op) {
if(op === 'load') { if(op === 'load') {
elemend.classList.add('loaded'); element.classList.add('loaded');
} else { } else {
elemend.classList.remove('loaded'); element.classList.remove('loaded');
} }
} }
}); });

Loading…
Cancel
Save