ã¯ãªãããããã®ä»å¹´ã®å§ãé ããå åã¯ãã£ãã¨æã£ã¦ããã®ã§ãããIT åå¼·ä¼ã«ã¬ã³ãã¼ãç¥ãããããã«ãªãæ´ã«å éãã¦ãã¾ãã
ã¯ãªãããããã®ä»å¹´ã®å§ãé ããå åã¯ãã£ãã¨æã£ã¦ããã®ã§ãããIT åå¼·ä¼ã«ã¬ã³ãã¼ãç¥ãããããã«ãªãæ´ã«å éãã¦ãã¾ãã
ä»æ¥ãåãã¦æè¡ç³»ã®åå¼·ä¼ã«åå ãã¾ããã æ10æãã18æã¾ã§ã²ãããjavascriptã®ã³ã¼ããèªãã¨ããä¼ç»ã ä»å¹´åº¦ã«ãªã£ã¦ãwebç³»ã®ä»äºãããããã«ãªã£ããã¨ããã£ã¦ãjavascriptã¯ãã使ãããã«ãªããããã«prototype.jsã®åå¨ãç¥ã£ã¦ãããã¯é¢ç½ããªã¨æã£ã¦ããã®ä¾¿å©ãã«ã¯ã¾ã£ã¦ããã¨ããã§ããã ããããåå¼·ä¼ããé¢è¥¿ã§ç¡ããã¨æ¢ãã¦ããããKanasan.JSã®åå¨ãç¥ãããããä»æ¥ãããã¨ãç¥ããããã«åå ç³ãè¾¼ã¿ï¼ ã¨ããæµãã ä¼ã¯ãã²ããããã³ã¼ããåèªèªã¿é²ããçåç¹ããã£ããã質åãã¦ããããã¹ããããªãããå ¨å¡ã§ãåºåããªããé²ãã¦ããã¨ãããã®ã§ããã åå¼·ä¼ã¨ããã¨ãã¬ã¼ã³ãã¼ã¿ã¼ããã¦ããããè´ãã質åãããã¨ããå½¢å¼ããçµé¨ãããã¨ãããã¾ããã§ããããããã§ã¯æãæãã«åèªãèªã¿é²ããããããªããã°ããããã§èª¿ã¹ãçåç¹ããã
é¢è¥¿ã«ãJavaScriptã®åå¼·ä¼ã欲ããã¨ã¯ãããKanasan.JSãååã¯prototype.jsã®CodeReadingã§ããã ååã®ä½ãã®ã¬ãã«ã®é«ããããµã¤æ¬ã®èªæ¸ä¼ãä½µè¨ãã¦ã以å¾äº¤äºã«å®æ½ãã¦ãã¾ããã prototype.js CodeReadingã¯ä»åã§6åç®ãã¨ãã¨ãprototype.jsãå ¨ã¦èªã¿çµããã¾ããã ãµã¤æ¬ãã¾ã éä¸ãªã®ã§ãã¾ãããçµããæã¯ããã¾ããããã¨ããããå°ãã¯å®å µãã¦ãã¾ãã ãµã¤æ¬èªæ¸ä¼ããã¨æ°åã§çµãããããªããããã°ããã¯èªæ¸ä¼ãç¶ãäºå®ã§ãã ãã ããã®å¾ã®Kanasan.JSã®æ¹åæ§ãã¾ã 決ã¾ã£ã¦ãã¾ããã prototype.jsã®æ¬¡ã¯jQueryã¨ããæè¦ãããã¾ãããRoppongi.JSã¨ãã¶ã£ã¦ãã¾ãã¾ãã éå¬ã¹ã¿ã¤ã«ãéãã®ã§ã¹ã¤ã«ãã¶ã£ã¦ãè¯ãã¨è¨ãã°è¯ãã®ã§ãã...ã ä¸çªç¾å®çãªæ¡ã§ãã ãªã©ã¤ãªã¼ã®J
ãâ¦ããã®ã¾ã¾ ä»æ¥ãèµ·ãã£ãäºã話ããï¼ ãåååå ããã¨ãã«èªã¿å§ããprototype.jsãï¼æ¬¡ã«åå ããã¨ãã«ã¯èªã¿çµãã£ã¦ããã ã¨ããããã§ï¼#1ã«ãã£ãã£ããåå ã§ãã¦ããªãã£ãï¼Kanasan.JS prototype.js CodeReading#6ã«åå ãã¦ãã¾ããï¼å ¨é¨ã§ï¼4221è¡ããprototype.jsã6åç®ã§ï¼ã¤ãã«ï¼æå¾ã«ãã©ãã¤ãã¾ããï¼ ã¨ãã£ã¦ãï¼ãã¡ã¯ãªããªãåå ã§ãã¦ç¡ãã¦ï¼ä»åã2åç®ã®åå ã§ããã°ãããï¼10:00éå§ã ã£ãã®ã«èµ·ããã11:00ã¨ãã¨ãããã ãã ã£ã·ãã§ï¼ãã¾ãèªãã¦ãªãã®ã§ããï¼ï¼ï¼ãããï¼ãã£ãããªã®ã§ï¼ä»æ¥èªãã é¨åã®å¾åé¨åã§æ°ã«ãªã£ãã¨ããã®ã¡ã¢ãæ®ãã¦ããã¾ãï¼ä»¥ä¸ï¼è¡æ°ã¯prototype.js 1.6.0.2ã«å¯¾å¿ãã¾ãï¼ 3843è¡ç®ããã function getEventID(element) {
http://sites.google.com/site/kanasanjs/about/prototype-js-codereading/prototype6 åããåãã¦è¡ã£ãåå¼·ä¼ã¯Kanasan.JS第ä¸åï¼å®è³ªCodeReading #1ï¼ã§ããã å½æãä¹ ãã¶ãã«ããã°ã©ãã³ã°ã®ä¸çã®æ»ã£ã¦ããã°ããã®åã¯ãã»ãã¨ã«ä½ã«ãåãããªãç¶æ ã§ãåæ³£ãã§ã³ã¼ããçºãã¦ãã¾ããã ããã¦ãåæã«ãã¤ãèªããããã«ãªã£ã¦ãããã¨èªã£ãã®ã§ããã ããããï¼å¹´ãåã¯'æ®é'ã«ã³ã¼ããèªãã§ãã¾ããã å®ã¯ã¾ã Core JavaScriptã®ç¥èãé©å½ã§ãå½ç¶ã¯ã©ã¤ã¢ã³ããµã¤ãã©ããã§ã¯ãªãã®ã§ãããããã§ããã®ä¸å¹´ãããªãã«ããã°ã©ãã³ã°ã¨ãããã®ã¨ä»åã£ã¦ããææã¯ãªãããã§ã¯ãªãæ§ã§ãã ãããªè¨³ã§ãä»åã¯è°è«ã«ãããããåå ã§ãã¦ãæ¯åæãäºã§ãããååãããåã«é²ãã§ãã¨ããå®æã
Kanasan.JS Prototype.js CodeReading #6 ã«è¡ã£ã¦ãã¾ãã (å½æ¥ã®ãã£ãããã°ãåå è ã®ããã°è¨äºä¸è¦§)ãä»å㯠Prototype.js 1.6.0.2 ã® 3375 è¡ç®ããã©ã¼ã ã«é¢ããé¨åããæå¾ã¾ã§èªã¿ããã¾ããã Form.Methods.findFirstElement (3449 è¡ç®) ãã©ã¼ã ã³ã³ããã¼ã«ãåå¾ããã¡ã½ããã§ãããtabindex å±æ§ã§ã¿ã移åé ãæå®ããã¦ããå ´åã¯ããã®é åºããã£ã¨ãæ©ãã³ã³ããã¼ã«ãè¿ããã¨ãã¦ããããã§ããããããã®éãtabindex å±æ§ã®å¤ã 0 ã®ãã®ãå¤ã 1 ã®ãã®ããåªå ãã¦ããããã§ãå®éã®ã¿ã移åé ã¨å¾ãããçµæãä¸è´ãã¾ãããHTML 4 ã§ã¯ tabindex å±æ§ã®å¤ 0 ã¯ãtabindex å±æ§ãæå®ããªãã®ã¨åãå¹æãæã¤ã¯ããªã®ã§ããã ãã©ã¼ã«ã¹ã¨é¸æç¯å²
çä¹³ã¨ãã¼ãã å·èµåº«ã§å·ãããããããã«åºã¾ã£ãç ç³ãé±ã¿ããã«ã¾ã¨ããã¤ãã¦ãããã¼ãããåãåºãã¨ããã°ã«ããã«çä¹³ã注ããå°ãæéãç½®ãã èªã¿ãããæ¬ã®ãã¨ããã¯ãã¾ãå¥ã®ãã¨ããä½ããèããªããæ°æ§ã§ãã¼ãããé£ã¹ã¦ãã¾ãããããçä¹³ã§æµãè¾¼ãã®ãå¿ããâ¦
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}