Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
2015-03-17 is.jsã¨ãããã¤ã¯ããã§ãã¯ã©ã¤ãã©ãªã®ã³ã¼ããèªãã ã®ã§ã¡ã¢ JavaScript Node.js npm is.js is.jsã¯ãå¤ã®ä¸èº«ãåãæ§ã ãªæ¡ä»¶ã§ãã§ãã¯ãããã¤ã¯ããã§ãã¯ã©ã¤ãã©ãªã Node.jsã§ããã©ã¦ã¶ã§ãåä½ããæè¿ãã使ãã§ãããã¦ã¼ã¶ã¼ã¨ã¼ã¸ã§ã³ãã®ãã§ãã¯ã ã¨ãã«ã対å¿ãã¦ããã is.js - micro check library ã³ã¼ããèªã¿ã¤ã¤æ©è½ãèããã®ã§ããã®ã¡ã¢ã å ±é is.jsã®é¢æ°ã«ã¯ãinterfaceã¨ããæ©è½ãããã is.string('abc'); // => true // å転 is.not.string('abc'); // => false // ãã¹ã¦ã... is.all.string('abc', 123, 'fgh'); // => false // ããããã... is.any
FacebookãéçºããJavaScriptã©ã¤ãã©ãªãReactãã®è§£èª¬æ¸ãæ¬æ¸ã§ã¯ããµã³ãã«ã¢ããªã±ã¼ã·ã§ã³ãç¨ãã¦React.jsã®ãã¹ã¦ã®å´é¢ã解説ãã¾ããã第Ié¨ åºç¤ãã§Reactã³ã³ãã¼ãã³ãã®ä½æã¨åæãå¦ã³ãReactã®åºæ¬çãªä½¿ãæ¹ãç解ãã¾ããã第IIé¨ å¿ç¨ãã§ã¯ã¯ã³ã©ã³ã¯ä¸ã®ã³ã³ãã¼ãã³ãä½æã«ã¤ãã¦å¦ã³ã¾ããã第IIIé¨ ãã¼ã«ãã§ã¯Reactã¨å ±ã«ä½¿ç¨ãã¦å ç¢ãªã¢ããªã±ã¼ã·ã§ã³ãå®è£ ããããã®ãã¼ã«ã«ã¤ãã¦å¦ã³ã¾ããæå¾ã®ã第IVé¨ å®è·µãã§ã¯å¤§è¦æ¨¡ãªã¢ããªã±ã¼ã·ã§ã³éçºã«å¿ è¦ãªç¥èãWeb以å¤ã®ã¦ã¼ã¹ã±ã¼ã¹ã«ã¤ãã¦è§£èª¬ãã¾ããèªè ã¯ã³ã³ãã¼ãã³ããã¼ã¹ã®ææ°ã®ããã³ãã¨ã³ãéçºã«ã¤ãã¦ã®ä½ç³»çãªç¥èã¨æè¡ã身ã«ã¤ãããã¨ãã§ãã¾ããæ¥æ¬èªç¿»è¨³çã®æ¬æ¸ã§ã¯Reactã®éçºç°å¢ã®æ§ç¯æé ã¨APIãªãã¡ã¬ã³ã¹ãå·»æ«ä»é²ã¨ãã¦åé²ã ç®æ¬¡ ã¾ããã 第Ié¨ãåºç¤
女å大çãããããåãã¦ããããªãã«ã®ãµã¼ãã¹ãæ·±å¤ã§ã使ãã風ä¿ã¨ãã¦ãèªåã®æ®ãããè±ãã«ãã¦ããã¦ããããªãã«ã§ããæå大å¦ã«éã女æ§ãæåããä»åã¯ãæãåºããã ãã§ãè奮ãç¦ã£ã¦ããã»ã©ãç´ è¡ã®æ°æã¡è¯ãã¯æ¿å ¥ãè¶ ãããããã®æè¦ã§ããããã®ç§å¯ã¯ææãªã¯ãªã«ããã¾ããç´ è¡ãããã¨ã©ãã©ãåºæ¿ããã¦ã¯ãªãåºããªãããããäºé ã«å½ãã£ã¦æ°æã¡è¯ããç¸æãæ¦ãã¦æ°æã¡è¯ãã¨ããç¸ä¹çãªé åã«æµ¸ãã®ããä»ã¾ã§ã®é¢¨ä¿å²ä¸æé«ã®ä½é¨ã«ãªã£ãã®ã§ããç´ è¡ã¯ããã¡ãªããããã®ã§ãããããã§ãå¯ç度ãé«ãã¦ã¢ã½ã³ã¸ã®åºæ¿ã¯ååãããã»ã©ãéä¸ã§èãããã¨ã諦ãã¦ããã°ããã£ã¨ãµã¼ãã¹ããååãæ¶åããªããã¡ã«æã¦ã¦ãã¾ã£ã¦ããã¨æãã¾ããããããåã¯é¢¨ä¿MASTERã§ãããããªãã¨ã§ãã¾ããããã¹ã大好ãããããã¯ã³ããããå¾ã§ãä½åº¦ã¨ãªãããã¥ã¼ãã¦ã»ãããã¨ãé¡ããããã®ã§ãèã絡ãã¦ãã£ã
é«è§£å度ã¹ã¯ãªã¼ã³ã«å¯¾å¿ã§ããã®ã¯å¬ããã§ãããæ®éã®è§£å度ããæããªã端æ«ã«ã大ããªãã¡ã¤ã«ããã¦ã³ãã¼ããããªããã°ãªããªãã®ã¯ã3Gåç·ãªã©ã®é ãåç·ã§ã®è¡¨ç¤ºããã©ã¼ãã³ã¹ãèæ ®ããã¨ãSVGãé©ãã¦ããªãã±ã¼ã¹ãããããã§ãããã ããµã¼ãä¸ã§GZIPå§ç¸®ããå ´åãå¹³å30%ã»ã©ãµã¤ãºãåæ¸ã§ãããã¨ãèæ ®ããã¨ãæ°åKBã®å·®ãããå ´åãé¤ãã¦ã表示ããã©ã¼ãã³ã¹ã¨è¡¨ç¤ºã¯ãªãªãã£ã®ãã©ã³ã¹ãã¨ãã¦ããæ°ããã¦ãã¾ãã ã¡ãªã¿ã«ãIllustratorã§ãå§ç¸®ããé¸æãã¦svgzã¨ãã¦ä¿åããã¨2,395Bã«ãªãã¾ããããããªãPNG8ã®ãã¡ã¤ã«ãµã¤ãºã«ã ãã¶è¿ãã¦è¯ãæãã§ãããApacheã®è¨å®ã«SVGZãè¨è¿°ããã¦ããã°å§ç¸®çã使ããã®ã§ããã®ãµã¤ãºã ã£ããç¾å®çãªæ°ããã¦ãã¾ããããã ããµã¼ãã®è¨å®ããã¾ããããªãã®ããIllustratorã§ã®æ¸ãåºããæªãã®ããSVGZã表
å ¬éæ¥ : 2009å¹´10æ20æ¥ (2020å¹´8æ30æ¥ æ´æ°) ã«ãã´ãªã¼ : ã¦ã¼ã¶ããªã㣠ã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¼ã¹ (UI) ãã¶ã¤ã³ã®å°éç¨èªã«ãã¢ã¼ãã« (modal)ãã¨ãã¢ã¼ãã¬ã¹ (modeless)ãã¨ããè¨èãããã¾ããWeb ãµã¤ãã® UI ãè¨è¨ããããã§ããããã¦ãããããã¼ã¯ã¼ãã ã¨æãã¾ãã®ã§ãç°¡åã«è§¦ãããã¨æãã¾ãã ãã¢ã¼ãã«ããã¢ã¼ãã¬ã¹ãã¨ã¯ï¼ ã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¼ã¹è¨è¨ã®ã³ã³ãµã«ãã£ã³ã°ä¼ç¤¾ãã½ã·ãªã¡ãã£ã¢ããã®ç¨èªç´¹ä» (ã°ãããµãªã¼) ã«ããã¨ããã¢ã¼ãã«ããã¢ã¼ãã¬ã¹ãã¯ããããä¸è¨ã®ããã«å®ç¾©ããã¦ãã¾ãã ã¢ã¼ããããç¶æ ãã¤ã¾ããã·ã¹ãã ãç¹å®ã®æ©è½ã®ä½¿ç¨ã«å¶éãããç¶æ ãã¦ã¼ã¶ã¼ãèªç±ã«æä½ãè¡ããªããªããã¨ã¨ãã¢ã¼ãå¥ã«æ©è½ã®æå³ãæ¯ãèããå¤åãããã¨ãããã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¼ã¹ã®ãã¶ã¤ã³ã§ã¯ãã§ããéãã¢ã¼ããè¨ããªãã»
ç¾å½¹å¥³å大çããã¦ã§ã¢ã©ãã«ããã¤ã¹ãï¼èº«ã«çãããããã¸ã¿ã«ç«¯æ«ï¼ã®ãã¶ã¤ã³ãè¡ãããã®ãæ«é²ç®ä¼ã3æ17æ¥ã«æ±äº¬ã»æ¸è°·ã§è¡ããã¾ããããã®ä¼ç»ã¯ããªã¯ã«ã¼ããã¯ããã¸ã¼ãºã®ç 究éçºæ©é¢ãAdvanced Technology Labãã¨ã®ã³ã©ãã¬ã¼ã·ã§ã³ã«ããå®ç¾ãããã®ãã¤ãã³ãã«ã¯å®éã«ãã¶ã¤ã³ã®éçºã«æºãã£ãç¾å½¹å¥³å大ç9人ãç»å ´ããèªåãæ å½ããããã¤ã¹ã®ãã¶ã¤ã³ã¸ã®æããããããã«èªãã¾ããã å§ãã«ç»å ´ããã®ã¯ãã¹ãã¤ã©ã«åãã¬ã¹ã¬ããããå 端ã«ãã³ã¯ã´ã¼ã«ãã¨ã©ã¤ã³ã¹ãã¼ã³ãããããã¾ãããã©ã¤ã³ã¹ãã¼ã³ã®ãµã¤ãºãã1ã¤1ã¤éããµã¤ãºã«ã¨ãã£ããã ããããã§ãã ç¶ãã¦ã¯ãã¿ã¤ã«åãã³ã°ã«ããããã¯é è²ã«ç¹ã«ãã ãã£ããã¶ã¤ã³ã§ããã®ãã³ã°ã«ãçããã¾ã¾æµ·ãå±±ã«è¡ã£ã¦ãéåæã®ãªãè²ãé¸ãã ã¨ã®ãã¨ã§ããã«ã©ã¼ã¯ã°ãªã¼ã³ã»ãã«ã¼ã»ãªã¬ã³ã¸ã®3種é¡ã ããã¡ã¼ãã¬ã¹ã¬ãã
ç¥ã£ã¦å¾ãããWebãã©ã¦ã¶ä¸ã§å©ç¨ã§ããã°ã©ãã£ãã¯é¢é£æè¡ãHTMLã®ãããªæè¦ã§å³å½¢ãæç»ã§ãããSVGããããã¯ããã SVGããã¥ã¡ã³ãã®æ¸ãæ¹ æ¬é£è¼ã§ã¯ãWebãã©ã¦ã¶ä¸ã§å©ç¨ã§ããã°ã©ãã£ãã¯æè¡ãåãããããç´¹ä»ãã¦ãã¾ãã第2åã¨ãªãä»åã®ãã¼ãã¯SVGã§ãã ãåãã®æ¹ãå¤ãã¨æãã¾ãããSVGã¯XMLããã¼ã¹ã«ãããã¯ãã«ã°ã©ãã£ãã¯ã¹ã®è¨è¿°è¨èªã§ããPNGã®ãããªç»åãã©ã¼ãããã®1ã¤ã§ãããã¾ãããå®éã«ã¯XMLãè¨è¿°ããããã¹ããã¡ã¤ã«ã§ãããHTMLã¨åæ§ã«JavaScriptï¼DOM APIï¼ã«ããå¶å¾¡ãè¡ãã¾ããHTMLãã¿ã°ã«ãã£ã¦ææ¸ã®æ§é ãè¨è¿°ããã®ã¨åæ§ã«ãSVGã¯ã¿ã°ã§å³å½¢ãè¨è¿°ãã¾ãã â ãXMLã§ãã¯ãã«ã°ã©ãã£ãã¯ã¹ãè¨è¿°ããSVG å®ã¯SVGã®è¦æ ¼èªä½ã¯ããªã以åããåå¨ããã®ã§ãããé·ããInternet Explorerï¼ä»¥éIEï¼
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}