Upgrade to Pro — share decks privately, control downloads, hide ads and more …

nodefest2013

ngs
October 26, 2013

 nodefest2013

node 学園祭 2013 の発表資料。

http://nodefest.jp/2013/

ngs

October 26, 2013
Tweet

More Decks by ngs

Other Decks in Programming

Transcript

  1. $(‘<p id=”foo”><span>Original text</span></p>’) .getElementDiff( ‘<p id=”foo2” class=“bar”><b>It works</b></p>’, “p#foo“) //

    => [ ‘$(“#foo > :eq(0)”).replaceWith(“<b>It works</b>”)’, ‘$(“#foo”).attr({”id”: ”foo2”, ”class”: ”bar ”})‘ ]