CSS Coding Guideline 移åã®ãç¥ãã ãã®åº¦ãCCGã¯ç§»åãããã¾ãããCSS Coding Guidelineä½åãããããé¡ãç³ãä¸ãã¾ãã
ããªãè£ã¯ã¶ã§ãããtaint.orgããã§ããã©ãã·ã§ããã使ã£ã¦è¿·è·¯ã解ãæ¹æ³ããç´¹ä»ããã¦ãã¾ããã å®é試ãã¦ã¿ã¾ããããæ¬å½ã«è§£ãã¦ãã¾ãã¾ããã»ã»ã»ããã¯ããããè¿·è·¯ã解ãã®ã楽ããã®ã§ãªãã ãæ¬æ«è»¢åã§ããã»ã»ã»è±ç¥èã¨ãã¦ç¥ã£ã¦ããã¦ãè¯ãããããã¾ããã 以ä¸ã«ããæ¹ããç´¹ä»ã è¿·è·¯ãç¨æãã¾ããä»åã¯Maze Generatorã«ã¦100Ã100ã®è¿·è·¯ãçæã â ãã®è¿·è·¯ã使ç¨ãã¾ãã 次ã«è¿·è·¯ã®å³å´ã®å£ãèªåé¸æãã¼ã«ã§é¸æã ãé¸æç¯å²ããé¸æç¯å²ãå¤æ´ããæ¡å¼µãã§4pxæ¡å¼µã æ°ããã¬ã¤ã¤ã¼ãä½æã 赤ã§å¡ãã¤ã¶ãã ãé¸æç¯å²ããé¸æç¯å²ãå¤æ´ãã縮å°ãã§4px縮å°ã ããããã«ãDELããã¼ã åçãæµ®ãã³ä¸ããã¾ããï¼ ä½æ¥ã®éä¸ã§ã¯ãæ¬å½ããªãã»ã»ã»ãã¨æççã ã£ãã®ã§ãããæå¾ã«åçãæµ®ãã³ä¸ãã£ãæã¯æåãã¾ããããã©ãã·ã§ããã®é¡ã®ãã¼ã«ããæã¡ã®
ãA社ã®ä¸ä½ã©ããæããã®ï¼ãã¿ããªå æ°ããªãã¦æããããªãããããªã«é å¼µã£ã¦ããã®ã«ï¼ç¤¾å¡ã®çµ¦æã¯å ¨ç¶ä¸ãããªãã£ã¦èããããããå·¥ä½æ©æ¢°ã¡ã¼ã«ã¼ã®å¹¹é¨ãåææã«ããèªã£ããA社ã¯ãã®å·¥ä½æ©æ¢°ã¡ã¼ã«ã¼ã®é¡§å®¢ã§ããï¼å·¥ä½æ©æ¢°ã両è ã®æ¦ãåãããè¦ãã製åã§ãããã¨ããï¼ãã®å·¥ä½æ©æ¢°ã¡ã¼ã«ã¼ã¯A社ã®ãã¨ãããç¥ã£ã¦ããããã¾ãã«ï¼æè¡è å士ã®äº¤æµããã£ã¦ï¼A社ã®æè¡è ã®ãæå ·åããããç¨åº¦ææ¡ãã¦ããããã ã ç§ã¯ãã®å¹¹é¨ã®è¨èã«é©ãããA社ã¯æè¡è ã«éããï¼ä¸è¬ã®äººã«ãããç¥ããããã©ã³ãä¼æ¥ã§ããï¼æ¥æ¬ã代表ããé«åçä¼æ¥ã§ãããããã ããããã°ããï¼ä½åº¦æé«çãæ´æ°ãããåãããªãããããªã®ã«ï¼ãã®ç¤¾å ã«ã¯å æ°ããªãï¼ç¤¾å¡ã®çµ¦æãä¸ãã£ã¦ããªãã¨ããã®ã§ãããçµæ¸èªãªã©ã§çµ¶è³ããããã®ä¼ç¤¾ãï¼ãã®ä¼ç¤¾ãçãããããã®å§¿ã®è£ã«ï¼å æ°ããªããã社å¡ã®å§¿ãããã¨ã¯ã«ããã«ã¯ä¿¡ãããããæãã
OLæ代ã®Aããã¨å¶ç¶åä¼ãAãä»åº¦é£äºè¡ããã^^ãâãã®æ¥ã®å¤ãAãããè¡ããªãï¼ãç§ãä»ã¯å¿ããã¦ç¡çã§ããâããããæ¯æ¥ã¡ã¼ã«ãæ¥ãããã«ãªãâ¦
è³æãå ¬éãã¾ããç¨æã§ããã£ï¼ï¼ï¼ï¼ï¼ 対象ã¯ä¸å¿ãã©ã£ãã®JavaScriptãã³ãããã¦ä½¿ããããããæ³å®ãã¦ã¾ããããæå¾ã®æ¹é£ããã¦å ¨ç¶èª¬æã§ããªãã£ãã§ããèªåãè¯ãåãã£ã¦ãªãããã ã¨æãã¾ãã ãã¡ã¤ã«ãCodeRepos.orgã«ç§»è¡ãã¾ããã ãã¬ã¼ã³ï¼http://svn.coderepos.org/share/docs/holidays-l/JavaScript-Study-Meeting.html ãã¦ã³ãã¼ãï¼JavaScript-Study-Meeting.zip ããåããéããããããã£ããããã®è¨äºã¸ã®ã³ã¡ã³ããããã¯ãã³ã¡ã³ãã§ãé¡ããã¾ãï¼ï¼ï¼ï¼ â»ãthis===fooãã¿ããã«æ¸ãã¦ããã¨ããã¯ãæ¬å½ã¯ãthis instanceof fooãã®ã¤ããã§ããã åçç¹ è©°ãè¾¼ã¿éãã¡ããã¡ï¼ï¼ï¼ï¼ 軽ããªãã¼ãµã«ãã¦ãããæ¹ããããã è³æä½ãã¯
ã©ããã¦ãããªã«å¼·ç¡¬ãªå§¿å¢ã貫ããã®ããã¨åæé®®ããã¶ãã£ã¦ãã¾ãã¾ãã å¶è£ãå¼·åããã¨ããããè¨ã£ã¦ããã®ã«ãå¹³æ°ã§ããµã¤ã«ãçºå°ãã¦ãã¾ãã¾ããã åæé®®ããµã¤ã«ãï¼æ®µç®åãé¢ãã«å¤±æãâ¦é²è¡çãè¦è§£ http://headlines.yahoo.co.jp/hl?a=20090407-00000140-yom-soci 人工è¡æã®æã¡ä¸ãã«æåãããã¨åæé®®ã¯è¨ã£ã¦ããã¿ããã§ããã ãªããè»éã«ä¹ã£ã形跡ã¯ãªããããã§ããã åãããªãã ãããã¨ã§ãæã£ã¦ããã®ã§ããããï¼ æ¬å½ã«ç解ä¸å¯è½ãªè¡åãåãå½ã§ããã ããã«ãã¦ãä»åçºå°ãããããµã¤ã«ã¯ãé²è¡çãè»éã解æããçµæã ã¬ã¼ãã¼ã®ç£è¦ç¯å²ãè¶ ããè·é¢ï¼æ¥æ¬ã®æ±æ¹åã¸ç´ï¼ï¼ï¼ï¼ããï¼ã¾ã§ã ï¼æ®µç®ã®ãã¼ã¹ã¿ã¼ãã¤ãã¦ããäºãåããã¾ããã ã¨ããäºã¯åãé¢ãããã¯ãã®ãã¼ã¹ã¿ã¼ãã¤ããã¾ã¾ã æ¥æ¬ãæ¢ç¥å¯è½ãªç¯å²ãè¶ ãã
(ãã¿ã§ãï¼ï¼) ãããè¦ã¦ http://css-happylife.com/log/javascript/000157.shtml èªåãæ¸ãã¦ã¿ã (function(load) { try { window.addEventListener("load", load, false); } catch(e) { window.attachEvent("onload", load); } })(function() { var images = document.getElementsByTagName("img"); for(var i = 0, l = images.length; i < l; i++) { (function(image, result) { if(result) { var onover = function() { image.src = result[1]
ãµã¼ãã¹çµäºã®ãç¥ãã ãã¤ãYahoo! JAPANã®ãµã¼ãã¹ããå©ç¨ããã ãèª ã«ãããã¨ããããã¾ãã ã客æ§ãã¢ã¯ã»ã¹ããããµã¼ãã¹ã¯æ¬æ¥ã¾ã§ã«ãµã¼ãã¹ãçµäºãããã¾ããã ä»å¾ã¨ãYahoo! JAPANã®ãµã¼ãã¹ããæ顧ãã ããã¾ãããããããããé¡ããããã¾ãã
è³è²¸æ®ããã®ãã家ã®å°é対çãæºãããå½ãå®ãç·¨ã 以åã®ããã°ã§ãè¨è¼ãããé²ç½ã®åªå é ä½ã«åºã¥ãã¦å¯¾çãé²ãã¦ãã¾ããã¾ã æãã¤ãããã¦ããªãé¨åãããã¾ãããããç¨åº¦ã¾ã¨ã¾ã£ã¦ããã®ã§ãã£ããã¨ãç´¹ä»ãã¦ããã¾ãã åªå é ä½å¥ã«æ¹åãã¦ãã£ã¦ãããããä»åã¯ä¸»ã«å°éã®æºã対çãã¡ã¤ã³ã«ãªãã¾ããâ¦
ç§ãã¡ã¯100ä¸äººã®ãã£ã³ãã«ãã¤ããå¼ã³ããã¾ãã å¤è³ã»å¬è³ãå¤8æãã10æã®2æéã ã¿ããªã§ãã£ããã«ã§ãããæ¶ãã¾ãããã ãã¦ã½ã¯ã®ã²ããã§åã©ãã«çµµæ¬ãèªãã§ãããã®ãããã§ãããã ãããã«æ人ã¨é£äºãããã®ãããã§ãããã ãã人ã¯çã¨ããããã人ã¯å¹³åãã ãã人ã¯ä¸çã®ãããããªå ´æã§çãã人ã³ã¨ã®ãã¨ãæããªããã ãã©ã°ãæããã¨ã¯æ°ããªä¸çã®çªãã²ãããã¨ã§ãã ããã¯äººéã®èªç±ã¨å¤æ§æ§ãæãããããã¨ã§ããã ææã®ãã£ã¨å¤§ããªå¯è½æ§ãçºè¦ãã ããã»ã¹ã§ããã¨ç§ãã¡ã¯èãã¾ãã ä¸äººã²ã¨ããããããã®èããè¸ã«ã ãã 2æéãã§ãããæ¶ããã¨ã§ã ããããã«ã¤ãªãã£ã¦ããããã¿ã®ã¦ã§ã¼ããã å°çä¸ã«ã²ããã¦ããã¾ãããã ã§ãããæ¶ãã¦ãã¹ãã¼ãªå¤ãã 100ä¸äººã®ãã£ã³ãã«ãã¤ãã è¾»ãä¿¡ä¸ ææ²»å¦é¢å¤§å¦ææ / ããã±ã¢ãå¶æ¥½é¨ä¸è©±äºº è¤ç°åè³ å¤§å°
9å²ãããã¯ããã·ã¥ä½ãããã·ã¥ãªã®ãjavascriptã§åå¨ããã»ã¨ãã©ã®ãªãã¸ã§ã¯ãã®å®ä½ã¯ããã·ã¥ã ãã var arr = [0,1,2,3]; ã¨ããã¿ãã¨é å(人ã«ãã£ã¦ã¯ãªã¹ã)ã«è¦ããã¨æããã§ãå®éã¯éããã ã ãã㯠var has = {0:0,1:1,2:2,3:3}; ã¨åºæ¬çã«ã¯ç価ãªãã ããã ã¡ãã£ã¨æç¸ããã¦ããã¡ã½ãã(ã¤ã³ã¿ã¼ãã§ã¤ã¹)ãéãã ãã ãããã« arr[4] = 4; arr['x'] = 'string'; arr[-1] = -1; ã¨ãã¦ã¿ããã Firebugã§ç¢ºèªãã¦ã¿ãã¨[0, 1, 2, undefined, 4]ã¨ãããããªå¤ãããã£ã¦ãããã ã§ãarr[-1]ãarr['x']ã®å¤ã¯ä¿åããã¦ãªãã®ããªï¼ãããªãã¨ã¯ãªãã¡ããã¨ã¢ã¯ã»ã¹ã§ãããã ã ããã©ãããarr.xã§'string'ãããã£ã¦ãããã ã å¥ã®ä¾ã
éå¬æ¥ï¼2012å¹´11æ3æ¥(åã»ç¥) ä¼ãå ´ï¼æ±äº¬é½ï¼å¤§ç°åºç£æ¥ãã©ã¶PIO åãéï¼5.1ã¹ãã¼ã¹ 主ãå¬ï¼ï¼¤ï¼©ï¼£ï¼¥ åãåï¼ã±ããã³ã ãã®ã¤ãã³ãã¯ãã¹ãããã§ã¹ããã«ï¼ç¥ç§°ï¼ã¹ããã§ã¹ï¼ãã®ä¸ç°ã¨ãã¦è¡ããã¾ãã âãç¥ããâ â¼ãµã¼ã¯ã«åå ç³è¾¼å»¶é· ãµã¼ã¯ã«åå ç³è¾¼ã10æ3æ¥ã¾ã§å»¶é·è´ãã¾ã ãæ¤è¨ã®æ¹ããããã¾ããããããããé¡ããã¾ã â¼7åç®éå¬ ä»å¹´ãã¹ãããã§ã¹ãã£ãã«å ã«ã¦éå¬è´ãã¾ã ãµã¼ã¯ã«åå ç³è¾¼ãéå§ãã¦ããã¾ãã®ã§ãããããé¡ãè´ãã¾ã ãµã¼ã¯ã«åå ã®åéã延é·ãã¦ããã¾ã 詳ããã¯ã¹ãããã§ã¹ãã£ãã«ã®HPãã覧ãã ãã â¼ãµã¼ã¯ã«åå åééå§ ãµã¼ã¯ã«åå ã®åéãéå§è´ãã¾ããã â¼æ¬¡åéå¬ 2011å¹´11æ3æ¥ãã¹ãããã§ã¹ãã£ãã«å ã«ã¦éå¬ â¼åç¥ï¼ãªã³ã©ã¤ã³ç³è¾¼ã¿éå§ ããããé ãã§ãã ï¼ï¼ï¼ï¼å¹´ï¼ï¼æï¼æ¥ãç¥å¥å·çï¼å·å´å¸ç£æ¥æ¯èä¼é¤¨ã«ã¦ã¹
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}