Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.
Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.
åãã¾ãã¦ããã«ã¡ã¯ãã½ã¼ã·ã£ã«ã¯ã©ã¤ã¢ã³ãéçºã® tanabe ã¨ç³ãã¾ãã ä»åã¯?Sinon.JS ã使ã£ã JavaScript ã®ãã¹ãæ¹æ³ãç´¹ä»ãããã¨æãã¾ãã Sinon.JS ã£ã¦ä½ï¼ Sinon.JS ã¯ãã«ã¦ã§ã¼ã®ã¨ã³ã¸ã㢠Christian Johansen ãããæ¸ããããJavaScript ç¨ã®ã©ã¤ãã©ãªã§ããã¹ã¿ããã¢ãã¯ããã§ã¤ã¯ãªãã¸ã§ã¯ãã®æä¾ã«ç¹åãã¦ãã¦ãQUnit ãªã©ã®ãã¹ãç¨ã®ãã¬ã¼ã ã¯ã¼ã¯ãå®è¡ç°å¢ã«ä¾åããªãæãç¹å¾´ã§ããChristian Johansen ããã¯?Test-Driven JavaScript Development ã®èè ã§ãããããã¡ãã¯è¿ã 翻訳ç ãç»å ´ããããã§ãã ã§ã¯æ©éãSinon.JS ã使ã£ããã¹ãææ³ããç´¹ä»ãã¦ããããã¨æãã¾ããæ¬ç¨¿ã§ã¯ãã¹ããã¬ã¼ã ã¯ã¼ã¯ã¯ QUnit ãæ¡ç¨ãã¦ãã¾ãã æé
JavaScript Advent Calendar 2011 (Node.js/WebSocketsã³ã¼ã¹)3æ¥ç®ã®hokacchaã§ããNode.jsã®ãã¹ããã¬ã¼ã ã¯ã¼ã¯ãmochaã«ã¤ãã¦æ¸ãã¾ãã mochaã¯TJãæ°ããä½ãå§ãã¦ãããã¹ããã¬ã¼ã ã¯ã¼ã¯ã§ããããã¥ã¡ã³ããè¦ãã°ã§ãããã¨ã¯å¤§ä½æ¸ãã¦ããã¾ãã®ã§ãããã¥ã¡ã³ããå ã«ã©ããããã¨ãã§ããã®ãã解説ãã¦ããã¾ããç¾æç¹ã§ã®ãã¼ã¸ã§ã³ã¯0.2.0ã§ãã http://visionmedia.github.com/mocha/ shouldã«ã¤ã㦠ã¾ãmochaã§ã©ããããã¨ãã§ãããã®åã«shouldã«ã¤ãã¦è§£èª¬ãã¦ããã¾ããmochaã®ããã¥ã¡ã³ãã«ã¯ç¹ã«èª¬æããªãshouldã使ããã¦ãã¦ãshouldã§ã©ããããã¨ãã§ãããããã£ã¦ãªãã¨ãããã¥ã¡ã³ããèªãã ã¨ãã«mochaã®æ©è½ãªã®ãshouldã®æ©è½ãªã®
â ã¤ããããï¼åºç¤ç·¨ï¼ ãã¦ã³ãã¼ãããmoment.jsãscriptã¿ã°ã§èªã¿è¾¼ã¾ãããæºåå®äºã§ãã ãã¨ã¯ä¸è¨ã®ãããªå®è£ ã§ä½¿ç¨ã§ãã¾ãã // momentãªãã¸ã§ã¯ããåæåãã¦ã»ã»ã» var m = moment(); // formatã§åºå! var output = m.format("YYYYå¹´MMæDDæ¥Â HH:mm:ss dddd"); console.log(output);  // => 2013å¹´05æ15æ¥Â 12:34:56 Wednesday // ç¾å¨æå» moment(); // ããªç§ã§æå® moment(1368543600000); // ã¿ã¤ã ã¹ã¿ã³ãï¼ç§ï¼ã§æå® moment.unix(1368543600); // Date.parseã§è§£æå¯è½ãªæååãæå® moment("May 15, 2013"); // Dateãªãã¸ã§ã¯ãã
Herlockã¯JavaScriptã§iPhoneãAndroidã¢ããªéçºãã§ããå½å åã®ãã¤ãã£ãã¢ããªã¯ãã¹ãã©ãããã©ã¼ã éçºç°å¢ã§ããFlashã©ã¤ã¯ãªã³ã¼ãã§OpenGLãå®è£ ãããã¨ãã§ãããããããã©ã¼ãã³ã¹ã®é«ããã¤ãã£ãã¢ããªã»ã²ã¼ã ã®éçºãå¯è½ã§ããåç»ãè¦ã åç»ãè¦ã Herlockã¯JavaScriptã使ç¨ãã¦ã¯ã³ã½ã¼ã¹ã§AndroidãiOSã®ãã¤ãã£ãã¢ããªãéçºãããã¨ãã§ããå½å åã®ãã¤ãã£ãã¢ããªåãã¯ãã¹ãã©ãããã©ã¼ã éçºç°å¢ã§ãã æ軽ã«ããã©ã¼ãã³ã¹ã®é«ããã¤ãã£ãã¢ããªã»ã²ã¼ã ã®éçºãå¯è½ã§ãã Herlockã¯ãã¼ãºããã¼ã¿çã¯2013å¹´8æåæ¬ãªãªã¼ã¹äºå®ã§ãã ã¡ã¼ã«ã¢ãã¬ã¹ããç»é²ããã ããæ¹ã¯ãªãªã¼ã¹æ å ±ãã¡ã¼ã«ã«ã¦ãéãè´ãã¾ãã å¼ç¤¾ã¯ã客æ§ã®å人æ å ±ããé ãããããã¨ã«ãªãã¾ããããã®ãé ããããå人æ å ±ã®åæ±ã«ã¤ãã¦ã
ããã«ã¡ã¯ã æè¿ã¯èªç¤¾ãµã¼ãã¹ã®Herlockã使ã£ã¦Javascriptã°ããæ¸ãã¦ããã¸ã§ãã¼ã§ãã ä»åã¯ã以åã®è¨äºï¼ãä¸ç´ç·¨ãHerlockã«ãããã©ã¤ãã©ãªã®ä½¿ç¨ ï¼ã§ãç´¹ä»ããã¦ããã©ã¤ãã©ãªã®ä¸ã¤ã§ããUnderscore.jsã«ã¤ãã¦ç´¹ä»ãããã¨æãã¾ãã Javascriptã«éããããã°ã©ãã³ã°ããã¨ãã«æ±ããã¨ã®å¤ããé åãã®å¤ã®æä½ãããã®ã«ä¾¿å©ãªæ©è½ããã®Underscore.jsã«ã¯æ°å¤ãç¨æããã¦ãã¾ãã ãã 説æããã ãã§ã¯åããã«ããé¨åãããã¨æãã¾ãã®ã§ãUnderscore.jsã§ä½¿ããã¡ã½ããã®ä¸ããé åæä½ã®ã¡ã½ããã«éå®ãã¦ããã®ä¸ã§ããã使ããããªã¡ã½ããã10åãµã³ãã«ã³ã¼ãã交ãã¦ç´¹ä»ãããã¨æãã¾ãã ã¾ãUnderscore.jsã¨ã»ã¼åã使ãæ¹ãåºæ¥ãLo-dashã«ã¤ãã¦ãå°ãã ã説æãã¾ãã ç®æ¬¡ Underscore.js
ãã®ãµã¤ãã«ã¤ã㦠jQueryã®æ¥æ¬èªãªãã¡ã¬ã³ã¹ã§ãã jQueryã®æ¬å®¶ãµã¤ã(è±æ) ã®å 容ã翻訳ãã¦ä½æãã¦ãã¾ããã誤訳ã誤è¨ãããã¨æãã¾ãã®ã§ãã®ç¹ã«ã¤ãã¦ã¯ãäºæ¿ãã ããã ããã誤訳ãªã©ã®ééããè¦ã¤ãã¾ãããã @tomof ã¾ã§æãã¦ããã ããã°å¹¸ãã§ãã News 2013.03.13 ver1.9ã®å 容ã«æ´æ°ãã¾ããã 2012.12.02 jQueryã®ä¼¼ã¦ããAPIã¾ã¨ã 2012.10.13 ãµã¤ãããªã¼ãã³ãã¾ããã API APIã®ã«ãã´ãªã¼åãã«ã¤ãã¦ã¯ãæ¬å®¶ãµã¤ãã§ã¯1ã¤ã®APIãè¤æ°ã®ã«ãã´ãªã¼ã«æå±ãã¦ãã¾ããã ãã®ãªãã¡ã¬ã³ã¹ã§ã¯åããããããéè¦ãã¦1ã¤ã®ã«ãã´ãªã¼ã«çµã£ã¦ãã¾ãã ã¾ããä¸é¨æ¬å®¶ãµã¤ãã®ã«ãã´ãªã¼ãåããå¥ã®ã«ãã´ãªã¼ã«æå±ããã¦ããAPIãããã¾ãã®ã§ã äºããäºæ¿ãã ããã Ajax Ajaxã«é¢ããå¦ç Attri
azu @azu_re çããã®éãæ¹ãæ¸ãã¦ããããã§ãã "æè¿ã®JavaScriptæ å ±ã®æ¢ãæ¹ Â· Issue #â2 · azu/jser-info" http://t.co/tZeSNAvB59 2014-01-30 13:01:07
é害
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}