diff --git a/examples/delegation.html b/examples/delegation.html index f468583..2b6c5be 100644 --- a/examples/delegation.html +++ b/examples/delegation.html @@ -11,9 +11,8 @@ var n = 0; setInterval(function(){ - dom('ul') - .append('
  • ') - .html('item ' + ++n + ' x'); + dom('ul') + .append('
  • item ' + ++n + ' x
  • '); }, 1500); dom('ul').on('click', 'a', function(e){ diff --git a/examples/manipulation.html b/examples/manipulation.html index db23453..d6770ac 100644 --- a/examples/manipulation.html +++ b/examples/manipulation.html @@ -13,7 +13,7 @@ dom('.add').on('click', function(){ var val = prompt('Item:'); - dom('ul').append('
  • ').text(val); + dom('ul').append('
  • ' + val + '
  • '); }); dom('.remove').on('click', function(){ diff --git a/examples/standalone.html b/examples/standalone.html index 6603ab4..404e590 100644 --- a/examples/standalone.html +++ b/examples/standalone.html @@ -10,8 +10,7 @@ var n = 0; setInterval(function(){ dom('ul') - .append('
  • ') - .html('item ' + ++n + ' x'); + .append('
  • item ' + ++n + ' x
  • '); }, 1500); dom('ul').on('click', 'a', function(e){