node 学園祭 2013 の発表資料。
http://nodefest.jp/2013/
Atsushi Nagase@ngs
View Slide
2ͭͷཁૉͷࠩίʔυΛੜ͢ΔjQuery.elementDiffݎ࿚ͳ CSS ηϨΫλΛੜ͢ΔjQuery.selectorator
$(event.target).getSelector()// => [“.mod-pageMain > section:eq(0)”]
$(‘Original text’).getElementDiff(‘It works’,“p#foo“)// =>[‘$(“#foo > :eq(0)”).replaceWith(“It works”)’,‘$(“#foo”).attr({”id”: ”foo2”, ”class”: ”bar ”})‘]
https://github.com/ngs/jquery-selectorator/https://github.com/ngs/jquery-elementDiff/
We’re HIRING!http://kaizenplatform.in/
}http://ngs.io