横æµFã»ããªãã¹ã¦ã¼ã¹åæ6人ã«ããæ°ããªææ¦ãROOTS.ããæ°æ代ã«é©å¿ããã¢ã¹ãªã¼ãã«å¿ è¦ãªç´ 質ã¨ã¯ã
横æµFã»ããªãã¹ã¦ã¼ã¹åæ6人ã«ããæ°ããªææ¦ãROOTS.ããæ°æ代ã«é©å¿ããã¢ã¹ãªã¼ãã«å¿ è¦ãªç´ 質ã¨ã¯ã
2013å¹´4æ27æ¥ãå æ¬æ¨ãã«ãºæ£®ã¿ã¯ã¼ã®ã°ã¼ã°ã«ã«ã¦ã第38åHTML5ã¨ãåå¼·ä¼ããéå¬ããããHTML5ã¨ãåå¼·ä¼ã¨ã¯ãHTML5ã«é¢å¿ã®ããã¨ã³ã¸ãã¢ãWebãã¶ã¤ãåãã®åå¼·ä¼ã ãä»åã®ãã¼ãã¯JavaScriptã®ãã¹ããã¬ã¼ã ã¯ã¼ã¯ãå¥å®¤ã®ãµãã©ã¤ãä¼å ´ãç¨æããªãã¦ã¯ãªããªãã»ã©ä¼å ´ã¯å¤ãã®åå è ã§ããµããããã¼ãã¸ã®é¢å¿ã®é«ããããããããããã¹ããã¬ã¼ã ã¯ã¼ã¯ã使ãããªãç¾å ´ã®ãããã¡ã®è§£èª¬ã«ããããã®ææ°äºæ ã¨åºæ¬çãªä½¿ãæ¹ãåãã£ãã JavaScriptãã¹ãã®å¿ è¦æ§ã¨ææ°äºæ ãµã¤ãã¦ãºã®ä½è¤éå¹³æ°ã¯ãJavaScriptã®ãã¹ãã®åºç¤ç¥èã¨å ¨ä½åã«ã¤ãã¦èªã£ãã å ¬éã¹ã©ã¤ã ä½è¤æ°ã¯ãçµåãã¹ããã¦ãããï¼åä½ï¼ãã¹ãããã®ã»ãã«ã¦ã¼ã¶ããªãã£ãã¹ããªã©ããããããã¹ãã«ã¯ã©ããªç¨®é¡ãããã®ãã解説ããå¾ãã¦ããããã¹ãã®éè¦æ§ã強調ãããæè¡é¢ã§éçºãã¼
åå¿è åãã®æ¬ã¨ãã ã¨ãã¤ãã³ãã jQuery ãªãã¸ã§ã¯ãã®å¾ã«ç´æ¥æå®ããã $('.foo').click(); ã®ãããªæ¸ãæ¹ã§èª¬æããã¦ããå ´åãå¤ããã©ãå°ãè¤éãªãã¨ããããã¨ããã¨ããã ã¨å°ããã¨ãåºã¦ãã¾ãããããªã¨ãã«ä¾¿å©ãªã®ã on() ã使ã£ãã¤ãã³ãè¨å®ã§ãã on() ã²ã¨ã¤ã§ bind() live() delegate() ã表ãã jQuery 1.7 ã§ãbind() live() delegate() ããã¹ã¦ on() ã«çµ±åãããããã§ãã ã¤ã¾ã on() ã®æ¸ãæ¹ã«ãã£ã¦ã3 ãã¿ã¼ã³ã®ä½¿ãæ¹ãã§ããã¨ãããã¨ã§ãã .foo ã¨ããè¦ç´ ãã¯ãªãã¯ãããä½ãããã¨ããä¾ã§ãã¤ãã³ãã®è¨å®ã¨åé¤ã®æ¹æ³ãããããæ¸ãã¦ã¿ã¾ãã bind() $('.foo').bind('click', function(){...}); 㯠$('.foo')
ä»æ¥è©±ããªãã㨠JavaScriptã®åºç¤ç¥èãjQueryã®å°å ¥ æ°æã¡ããUIãUXãããã¡ãã CanvasãWebGLã使ã£ããªããã§ã¤ã±ã¦ãã²ã¼ã ã®ä½ãæ¹
JavaScriptã®ãããã¿ã¤ããã§ã¼ã³ã«ã¤ãã¦ç解ãããã¨ããã®ã ãã©ãprototypeã¨ã__proto__ã¨ããã¡ããã¡ãã«ãªã£ã¦ãè²ããªããã°ãèªãã§ããªããªãç解ããããªãã¦æ¶ã ã¨ãã¦ããã®ã ããå³ãæ¸ãããããã¨ç解ã§ããï¼ä»¥ä¸ãæ å ±ã½ã¼ã¹ã¯ãªãã¹ãECMAScriptä»æ§æ¸ï¼3rdï¼ãå ã«ããããã«ãã¦æ¸ãã¾ãã ãªãåããã¥ããã®ãï¼ ããããããªãJavaScriptã®ãããã¿ã¤ããã§ã¼ã³ã¯èªåã«ã¨ã£ã¦ãããåããã¥ããã£ãã®ã ãããï¼èªåãªãã«åæãã¦ã¿ãã¨ãã¾ãããä¼¼ã¦ãããéãç¨èªã沢山ãããã¨ããç¹ãããããã£ã¨ãããã ãã§ãããprototypeã¨__proto__ãã__proto__ã¨[[Prototype]]ããFunctionã¨Functionãªãã¸ã§ã¯ãããªã©ããããããã¦æ¬¡ã«ããå ¥ãçµãã æ§é ãåçã«å¤åãããã¨ããç¹ããããä¸è¨ã®ããã«ä¼¼ããã
ç®æ¬¡ jQuery 1.4以åã®æ¸ãæ¹jQuery 1.5以ä¸ã®æ¸ãæ¹jQuery 1.8以ä¸ã®æ¸ãæ¹ãçºå±ç·¨1ãDeferredãç¨ããæ¸ãæ¹ deferredã¨ã¯ä½ãï¼ãçºå±ç·¨2ã$.when() ãç¨ããæ¸ãæ¹åèæ¬ã¨ã³ããªã¯è»½ãã®jQuery Advent Calendar 2012ã®14æ¥ç®ã®è¨äºã¨ãã¦æ¸ãã¾ãã軽ãã¨ãããªããå°ãéãã«ãªã£ã¦ãã¾ã£ãæãããã¾ãããåãã¦ã®Advent Calendaråå ã¨ãããã¨ã§ãåå¼ãã â» Twitter APIä»æ§å¤æ´ã«ããTwitter APIã使ã£ãã³ã¼ãä¾ã¯ç¾å¨åä½ããªããªã£ã¦ãããã¨ã«ã注æã jQuery 1.4以åã®æ¸ãæ¹ã¾ãã¯ãå°ãå¤ãã®ã³ã¼ããæã®jQueryã®æ¬ã¨ãã§ããè¦ãæ¸ãæ¹ã $.ajax({ url: "ajax.html", success: function(data) { alert('succes
JavaScriptãåå¼·ãã¦ããã¨ãªãã¸ã§ã¯ãã¨ã¯ãªãããï¼ã¨ãããã¨ãããããªããªã£ã¦ãã¾ããé¸æè¢ãå¢ããã°å¢ããã»ã©ã JavaScriptã«ã¯ãåãããã«è¦ãã¦ãå®ã¯åãã§ã¯ãªããã¼ã¿ãããã¾ãããããã®ãªãã¸ã§ã¯ãã«ã¤ãã¦ãåºå¥ãã¦èª¬æãä»ããããããã«ãèªåãªãã«èå¯ãã¦ã¿ã¾ãããåå¼·ä¸ã®ã¢ã¦ãããããªã®ã§ãããã§æ¸ããå 容ã¯äºå®ã¨ã¯å¤§ããå¤ãã¦ãããã®ããããã¾ãããã¨ã«ããä¸æçãªé¨åãèªåãªãã«çç±ã¥ããããã£ãã ãã§ãã ãµã³ãã«ã³ã¼ãã試ãããå ´åã¯ãFirefoxã®FireBugã«ããã³ã³ã½ã¼ã«ã«è²¼ãã¤ãã¦å®è¡ããããSafariã®éçºãã¼ã«ã«ããã³ã³ã½ã¼ã«ã«è²¼ãã¤ãã¦å®è¡ãã¦ãã ããããããããããªãæ¹ã¯ console.log ã®é¨åã alert ã«ç½®ãæãã¦ç¢ºèªãã¦ãã ããã 話ãããããããªãã®ã§ãä»åã¯ããããã£ããæ±ã£ã¦ãã¾ããã å称ã®å®ç¾©ã«ã¤ãã¦
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}