ãåãåãã åºåæ²è¼ã»ã¡ãã£ã¢ç´¹ä»ãªã©ã®ãåãåããã¯ãä¸è¨ã®ã¡ã¼ã«ã¢ãã¬ã¹ã¾ã§ãé¡ããããã¾ãã tactsh(at)gmail.com
ãåãåãã åºåæ²è¼ã»ã¡ãã£ã¢ç´¹ä»ãªã©ã®ãåãåããã¯ãä¸è¨ã®ã¡ã¼ã«ã¢ãã¬ã¹ã¾ã§ãé¡ããããã¾ãã tactsh(at)gmail.com
ä»æ¥è©±ããªãã㨠JavaScriptã®åºç¤ç¥èãjQueryã®å°å ¥ æ°æã¡ããUIãUXãããã¡ãã CanvasãWebGLã使ã£ããªããã§ã¤ã±ã¦ãã²ã¼ã ã®ä½ãæ¹
2013-09-16 50è¡ã§ä½ããHTML5+JavaScriptã§ãã©ã³ã°ãã³ã®ã¢ãªãã®ç°¡åããã°ã©ãã³ã°ï¼ ããæ¹ é©å½ããã°ã©ãã³ã°è§£èª¬ã·ãªã¼ãº ã¯ããã«ã ã©ã³ã°ãã³ã®ã¢ãª(Langton's ant)ãç¥ã£ã¦ãã¾ããï¼ã©ã³ã°ãã³ã®ã¢ãªã¯Wikipediaã®ã©ã³ã°ãã³ã®ã¢ãªã«ããã¨ã以ä¸ã®ããã«è¨è¿°ããã¦ãã¾ãã ã©ã³ã°ãã³ã®ã¢ãªï¼è±: Langton's antï¼ã¯ãã¯ãªã¹ããã¡ã¼ã»ã©ã³ã°ãã³ãçºæããåç´ãªè¦åã§è¨è¿°ããã2次å ãã¥ã¼ãªã³ã°ãã·ã³ã§ããã å®éã®3å¹ã®ã©ã³ã°ãã³ã®ã¢ãªã®æ©éããããåãã§ãã ä¸è¦è¤éããã«è¦ãã¾ãããã«ã¼ã«ã¯ãã£ãããã ãã§ãã(ä¸ã®gifã§ã¯è²ã®ãããã¹ãç½ã®ãã¹ã¨ãã¦ãã¾ãã) é»ããã¹ã«ã¢ãªãããå ´åã90°å³ã«æ¹å転æãããã®ãã¹ã®è²ãå転ããã1ãã¹åé²ããã ç½ããã¹ã«ã¢ãªãããå ´åã90°左ã«æ¹å転æãããã®ãã¹ã®è²ãå転ããã
2013-08-24 200è¡ã§ä½ããenchant.jsã使ã£ãç°¡åã·ãã·ãããã°ã©ãã³ã° ããæ¹ ã¯ããã« ãã®åenchant.jsã§ã·ãã·ã by ãã£ç«ã¡ééãä½ã£ã¦å ¬éãã¾ããã enchant.jsã§ä½ã£ãHTML5+JavaScriptãªãã·ãã·ãããå ¬éãã¾ãã ãããç¥ãåãRåã«ç´¹ä»ããã¨ãããå¬ããäºã«ãåãã·ãã·ãä½ãããï¼ãã¨ãã£ã¦ãããã¾ãããããã§ã·ãã·ãã®è§£èª¬ãµã¤ãããããã§è¦ã¤ãã¦ç´¹ä»ãããã¨æãã¾ããã ãããããããªã¹ã®è§£èª¬ãµã¤ãã¯å±±ã»ã©ããã®ã«ãã·ãã·ãããã°ã©ãã³ã°ã®è§£èª¬ãµã¤ããå ¨ç¶ããã¾ããã§ãããç¹ã«å®æã¾ã§è§£èª¬ãã¦ãããµã¤ãã¯è¦ã¤ãããã¾ããã§ããããããªã¹ã¯ããã®ã«ã ã¨ãããã¨ã§ãä»åã·ãã·ãããã°ã©ãã³ã°ã®å®æã¾ã§ã®è§£èª¬ãæ¸ãã¦ã¿ã¾ãããããã¯enchant.jsã®åºç¤ãã²ã¨éãåå¼·ãããæ¹ã«ããããã§ããã¯ããã¡ããã¡ããåããã ã
ã¯ãã㫠第1åç®ã®æ¬ç¨¿ã¯ãå®éã«ãã¹ãã³ã¼ããæ¸ãåã«ãåºæ¬çãªèãæ¹ã§ããããªããã¹ãã³ã¼ããæ¸ãã®ãï¼ãã解説ãã¾ãã 対象èªè JavaScriptã®åºæ¬ãããç¨åº¦ç解ãã¦ããæ¹ ãã¹ãã³ã¼ããããããæ¸ããã¨èãã¦ããæ¹ é »ç¹ãªå¤åã¸ã®å¯¾å¿ ã¾ãã¯ãéçºç¾å ´ã§å¤ãè¡ããã¦ããåºæ¬çãªèãæ¹ãæ¯ãè¿ãããã¹ãã³ã¼ãããªãå¿ è¦ãªã®ããèãã¦è¡ãããã¨æãã¾ãã ããã¾ã§ã®ãã¹ãã®èãæ¹ ã¾ãã¯ãä¸è¬çãªã¦ã©ã¼ã¿ãã©ã¼ã«ã¢ãã«ãä¾ã«èãã¦ã¿ã¾ããããé常ã¦ã©ã¼ã¿ãã©ã¼ã«ã¢ãã«ã§ã¯ãè¨è¨âå®è£ âãã¹ãã¨ããé çªã§ãä½ã£ããã®ãæå¾ã«ãã¹ããã¾ããæå¾ã«ãã¹ããè¡ãã¨ããã®ã¯ãè¨ãæããã¨ãå質ãæå¾ã«æ ä¿ãããã¨è¨ãã¾ãã ã¾ããæå¾ã«ãã¹ãããå ´åã¯ãé常ãã¹ãä»æ§æ¸ãªã©ãä½æããä¸ã§å¿ è¦ãªãã¹ããã¿ã¼ã³ãæ´ãåºããæåã§ãã¹ããå®æ½ãã¾ãã å¤åã¸ã®å¯¾å¿ãæ±ãããã¦ãã ã¹ã¿ã¼ãã¢ã
ãªããæ¨æ¥, koba04ããã®ããããã°ã©ãã³ã°æªçµé¨ã®ã¿ã¯ã¬ã³åºå¡ãã¨ã³ã¸ãã¢ã«ãªã£ã¦æã£ããã¨ãã¨ããã¹ã©ã¤ããæ¸ãã¦ã¿ããã¨ããã¨ã³ããªã¼ãããã«ã±ã§ ï¼å¹´åã«å ¬éããã¨ã³ããªã¼ããªã·ã£ã¬ãªã¹ã©ã¤ãã·ã§ã¼ãç°¡åã«ä½ãã¡ãã reveal.js ã®ä½¿ãæ¹ã reveal.js ã使ã£ã¦è§£èª¬ãã¦ã¿ã.ãã¸ã®ã¢ã¯ã»ã¹æ°ãæ¥ä¸æãã¾ãã. ããã«ä¾¿ä¹ãã¦, ä»å㯠reveal.js ã® ãªã³ã©ã¤ã³ã¨ãã£ã¿çãrvl.ioãã®ä½¿ãæ¹ã¤ãã¦è§£èª¬ãããã¨æãã¾ã. æè¿ã¯, ããããããã¨ã«è¬æ¼ã«ä¾é ¼ã, å®éã«ã»ããã¼ã§çºè¡¨ããæ©ä¼ãå¢ãã¦ããã®ã§ ããªãéå®ãã¦ãã¾ã. ã¨ã¦ã便å©ãªãªã³ã©ã¤ã³ã¨ãã£ã¿ãªã®ã§ãã²ä½¿ã£ã¦ã¿ã¦ä¸ãã. Table of contents reveal.js ã£ã¦ï¼ rvl.io ã£ã¦ï¼ rvl.io ã®ä½¿ãæ¹ãrvl.ioã§ä½ã£ããã¬ã¼ã³ã§è§£èª¬ãã¦ã¿ã éå»ã«
ããã¾ã§ã®ãããã æ°äººã®åéã測ãããã®èª²é¡ã¨ãã¦ãªã»ãã®ä½æãæ示ãããã æ示ããå½äººãä½ããªãããã§ã¯è©±ã«ãªããªãã®ã§å®éã«ä½ãå§ããã ä¸å ãç¤é¢ã4Ã4ã§é»ãç½ã人éãæãä¸äººäºå½¹ã®å¯ãããªã»ãã¯å®è£ ã§ããã®ã ãã å¿«é©ã«éã¶ã«ã¯å¤§ããªåé¡ãæ½ãã§ããã®ã§ãã£ãã å®ã¯4Ã4ã§æ¢ã«éãåé¡ å®éã«ååä½æãããªã»ããå®è¡ããã¨ã ã²ã¼ã ãéã¹ãããã«ãªãã¾ã§ã«å²ãã¨å¾ ãããã¾ãã ããããã®ã¯ãã§ããã®å®è£ 㯠ã²ã¼ã ä¸ã§åãå¾ãå±é¢ãäºãå ¨ã¦åæ ãã¦ããããã§ãã ããã4Ã4ã¨ããæå°éã®ç¤é¢ã®ãªã»ãã§ããã²ã¼ã ä¸ã«åºç¾ãå¾ãå±é¢ = ã²ã¼ã æ¨ã«å«ã¾ãããã¼ãæ°ã¯ 284,881å ããã¾ã(â»å転ããã¨åãã«ãªãç¤é¢çã¯åå¥ã«æ°ãã¦ãåä¸ç¤é¢ã§ãæçªã®ãã¬ã¤ã¤ã¼ãç°ãªããªãå¥ã¨æ°ãã¦ããã¹ããå ´åã1åã¨æ°ãã¦ãã¾ã)ã ããããå¾ ããããã«æ±ºã¾ã£ã¦ã¾ãããç¡éç¢é±ã«ã¡ã¢
backbone-on-railsã¨ããGemãããã¾ããããã©ã«ãã®ãã³ãã¬ã¼ãã¯ecoã使ç¨ãã¦ãã¾ãã JavaScriptã®ãã³ãã¬ã¼ããã¬ã¼ã ã¯ã¼ã¯ã®ä¸ã§ãé«éã§å²ã¨äººæ°ã®ããHandlebars.jsã«åãæ¿ãã¦ã¿ã¾ãã gem 'handlebars_assets' ãGemfileã®group :assetsã«è¿½å ãbundle installãã¾ãã ./config/initializersã« handlebars.rbã¨ãããã¡ã¤ã«ã追å ãã¾ããä¸èº«ã¯ä»¥ä¸ã®ãããªæãã§ãã if defined? HandlebarsAssets HandlebarsAssets::Config.template_namespace = 'JST' end ãã¼ã ã¹ãã¼ã¹ãå®ç¾©ãã¦'JST'ã«å¤æ´ãã¦ãã¾ããecoã使ã£ã¦ããå ´åã¯JSTã«ãªã£ã¦ããã¨æãã¾ãã®ã§ããã«åããã¦ã¾ãã
2015/03/02: ç¾å¨åä½ããªããªã£ã¦ãããããªã®ã§ããã¡ãçãåç §ãã¦ãã ããã Amazonã§ä½¿ã£ã¦ããéé¡åè¨ãã¦ã¿ã ãã«ãããéå ± 5ï¼ä»¥ä¸ãåç¡ãã«ãããã¾ãã¦VIPããéããã¾ãï¼2012/06/16(å) 13:28:46.48 ID:8IYD9aJN0 ã©ããã£ã¦åè¨ããã® 6ï¼ä»¥ä¸ãåç¡ãã«ãããã¾ãã¦VIPããéããã¾ãï¼2012/06/16(å) 13:29:58.55 ID:5x4DpozW0 >>5 ã¡ã¾ã¡ã¾è¶³ã ã¨ãããã㧠èªåãã©ããããAmazonã§ä½¿ã£ã¦ããç¥ãããã£ãã®ã§ãéè¨ããã³ã¼ãæ¸ãã¾ããã ã¾ããã®ãã¼ã¸ã«è¡ã£ã¦ããã https://www.amazon.co.jp/gp/css/order-history/ ä¸ãã³ãããã¦ã¢ãã¬ã¹ãã¼ã«è²¼ãä»ãã javascript:(function(){var d=document;var
å¤é¨ãµã¤ãã®JSãã¡ã¤ã«ãèªã¿è¾¼ãã¨ãã«ãããããæ¸ãæ¹ããã®ã¯ããã¾ãããã <script src="http://example.com/js/jquery.js"></script> çç± ããªãã®ãµã¤ããããã¤ã®æ¥ãSSLã«å¯¾å¿ãããã¨ã«ãªã£ãã¨ãããã®scriptã¿ã°ããã°ã®åå ã«ãªãã¾ãã ã覧ã®ã¨ãããHTTPSãã¼ã¸ã®ä¸ã§HTTPè¦ç´ ãèªã¿è¾¼ããã¨ããã¨ããã©ã¦ã¶ã«ãã£ã¦ã¯å®å ¨è£ ç½®ãåãã¦èªã¿è¾¼ãã§ãããªãã®ã§ãã ä¸ã®ä¾ã§ã¯jQueryã®èªã¿è¾¼ã¿ã«å¤±æãã¦ãã¾ãããã¨ã©ã¼ã¡ãã»ã¼ã¸ãUncaught ReferenceError: jQuery is not defined ããè¦ã¦ãHTTPS/HTTPã®ãããã³ã«ãåå ã ã¨ã¯ããæ°ã¥ããªãã®ã§ããããã«ãããã°ã«ãªã£ã¦ãã¾ãã¾ãã çµè« JSãã¡ã¤ã«(ã¨ãCSSã¨ãç»åã¨ã)ãèªã¿è¾¼ãã¨ãã¯ã"http:"ã®é¨åãç
æè¿Perlã§ä»äºããã¦ãã¦ãcpanfileãç¡ãããã¸ã§ã¯ãã§ç大ã«ãããããtohaeã§ããããã«ã¡ã¯ã Perlã§ãããããçµé¨ãçãããRailsããã¸ã§ã¯ãã§ä½¿ãã¯ã©ã¤ã¢ã³ããµã¤ãã®JSãã¡ããã¨ç®¡çãããã¨bowerã使ããã¨ã«ãã¾ããã bower is ä½ï¼ bowerã£ã¦ã®ã¯twitterãä½ã£ãJSã®ããã±ã¼ã¸ããã¼ã¸ã£ã§ããæè¿ç´¹ä»è¨äºãå¤ãã®ã§ã詳ããã¯ããã£ã¦ãã ããã ç°¡åã«è¨ãã¨JSãwgetããæ代ã¯çµãã£ãã£ã¦ãã¨ã§ãï¼ï¼ï¼ ä»åã¯bowerã®ç´¹ä»ã§ã¯ãªããbowerãRailsã§ä½¿ãå ´åã«ã¯bower-railsã使ãã¨ããããã¨ããã話ããã¾ãã bower-railsã®ä¸æºå ã¾ãã¯bowerãnpmã§å ¥ãã¾ãã $ npm install bower -g 次ã«Gemfileã«bower-railsã追å ãã¾ããç¾æç¹ã§ã¯ãã¼ã¸ã§ã³ãæå®ããªãã¨
2013å¹´05æ08æ¥18:21 JavaScript å®éã®ãµã¤ãä¸ã§åä½ãããã¥ã¼ããªã¢ã«ãç°¡åã«ä½ããIntro.jsã便å©ããã件 ãã¦ãå æ¥ç°¡åãªãã¥ã¼ããªã¢ã«ä½ããã¨æã£ããã§ãããã©ãããã®ãè¯ãã®ããªã¼ã¨æã£ã¦æ©ãã§ã¾ããããã£ããã£åã£ã¦ããã«èª¬ææãæ¸ãã¦â¦ã£ã¦ãã¦ããããã§ããã©ããã£ããã£ã ã¨ä¸é¨åãªã®ã§ãµã¤ãä¸ã®ã©ã®è¾ºãªã®ããããã«ããã£ããããµã¤ãå´ã¯å¤æ´ããã®ã«ãã£ããã£ãå¤ãã¾ã¾ã¨ãã«ãªã£ãããã¡ããã¾ãããï¼ï¼ ã¨ãæã£ã¦æ¢ãã¦ã¿ãããã¡ãã® Intro.js ã便å©ã ã£ãã®ã§ç´¹ä»ãã¦ã¿ã¾ãã ãã¦ããã® Intro.js ã使ãã¨ã§ããããµã¤ãä¸ã§åä½ãããã¥ã¼ããªã¢ã«ãç°¡åã«ä½ãããã§ããã使ãæ¹ãç°¡åã§ãåä½ããããè¦ç´ ã«å¯¾ã㦠data-intro (表示ãã説ææ) 㨠data-step (ãã¥ã¼ããªã¢ã«ã®ä½çªç®ã«è¡¨ç¤ºããã) ãæå®ãã¾ããã
4. JSã®ãªãã¸ã§ã¯ã㯠é£æ³é åã¿ãããªãã® 1 // 空ã®ãªãã¸ã§ã¯ããä½æ 2 var dog = {}; 3 4 // ããããã£ãã²ã¨ã¤è¿½å 5 dog.name = "Pochi"; 6 7 // ãã©ã±ããã§ãã¢ã¯ã»ã¹ã§ãã 8 dog['breed'] = "Shih Tzu"; 9 10 // é¢æ°ãã²ã¨ã¤è¿½å -> ã¡ã½ãã 11 dog.getBreed = function () { 12 return this.breed; 13 } 5. JSã®ãªãã¸ã§ã¯ã㯠é£æ³é åã¿ãããªãã® 1 // åããã®ããªãã¸ã§ã¯ããªãã©ã«ã§è¡¨è¨ 2 var dog = { 3 name: "Pochi", 4 breed: "Shih Tzu", 5 getBreed: function () { 6 return this.breed; 7 } 8 }; 6. ã¯ã©ã¹ã£ã½ã
ãã®è¨äºã¯è³å³æéåãã§ããï¼æ´æ°ãã1å¹´ãçµéãã¦ãã¾ãï¼ JavaScriptã¦ããããã¹ãä¸å¹´çã®ç§ããNettuts+ ã®ãã¥ã¼ããªã¢ã«ã§ç¥ã£ããã¹ããã¼ã« ãtestemãã®ãé°ã§å¤§å¤æã£ãã®ã§æ¯éãå§ãããããããã§ç´¹ä»ãã¦ã¿ã¾ãã testem ã£ã¦ãªã« testem via GitHub : airportyh/testem Unit testing in Javascript can be tedious and painful, but Testem makes it so easy that you will actually want to write tests. è¦ããã«ãé¢åãªJSã®ã¦ããããã¹ããããå¿«é©ã«ãã¦ã¿ããªã§ãããã¼ã«ãã¹ãæ¸ãããï¼ã¨ãããã¼ã«ã§ãã testemèªä½ã¯node.jsãã¼ã¹ã§åä½ããJasmine/QUnit/Mochaã«å¯¾å¿ãã¦
ç°¡åãªã²ã¼ã ãä½ã£ã¦JavaScriptãå¦ã¹ãWebãµã¼ãã¹ æ¦è»ãä¾é¡éãã«åããããHelloWorldãä¾é¡éãã«åãããã㨠ãã©ã¦ã¶å ã§å ¨ã¦å¦ç¿åºæ¥ã¾ã 説æãªã©ã¯è±èªã§ãããããããJavaScriptãå¦ã¶æ¹ã¯ ç¨ããè±èªåãä»ããã¨æãã¾ãã JS Dares ãªã³ã¯å ã¯ãã¡ããã ã¾ãã¯Hello Worldããæå§ãã«ãã£ã¦ã¿ãã®ã è¯ãã¨æãã¾ã å·¦å´ã«èª¬æã¨åé¡ãããã¾ãã®ã§ å³å´ã®å ¥åé¨åã«è¨è¿°ãã¦ããã¾ã HelloWorldã®æ£è§£ã¯ãã®æ§ã«ãªã£ã¦ãã¾ã 120ãã¤ã³ããããã¾ããï¼ï¼ åé¡ã¯å°ããã¤é£ãããªã£ã¦ããã¾ã ééãã¨å·¦å´ã®æ§ã«èµ¤ããªãã®ã§ãã§ãã¯ããªãã å¦ç¿åºæ¥ã¾ã æ¦è»ãåããç°¡åãªã²ã¼ã ãããã¾ãã®ã§ JavaScriptãã©ããªç©ããæ¦è¦ãç¥ãäºã¯åºæ¥ãã¨æãã¾ã
5. å¤æ°/é¢æ°ã®å½åè¦å ⢠åºæ¬ var fistName; (ãã£ã¡ã«ã±ã¼ã¹) ⢠ã³ã³ã¹ãã©ã¯ã¿ var calendar = new CalenderCtrl(); (å é ã大æå) ⢠this (ç¾å¨ã®åå空é) var that = this; ⢠å®æ° var GENERAL_API_KEY = "4fh5cv$sp"; ⢠ãã©ã¤ãã¼ã var _userName = "user01";
Read files in JavaScript Stay organized with collections Save and categorize content based on your preferences. Selecting and interacting with files on the user's local device is one of the most commonly used features of the web. It allows users to select files and upload them to a server, for example, when sharing photos or submitting tax documents. It also allows sites to read and manipulate the
å¦ç¿ãµã¤ãã¨ãã¦è¯ãããã ã£ãã®ã§ãç´¹ä»ã JS Daresã§ã¯ãç°¡åãªã²ã¼ã ä½ããéãã¦JavaScriptãå¦ã¶ãã¨ãã§ããã æåã¯æ¦è»ãåããããã°ã©ã ããã¯ããã¦ãå°ããã¤ãèªåã®ãã¼ã¹ã§ã¬ãã«ã¢ãããã¦ãããã¨ãã§ããããã ã ãã¹ã¦ãã©ã¦ã¶ä¸ã§å®çµããã®ã§ç°å¢ãç¨æããæéããããªããããããããã°ã©ãã³ã°ããã¨ããåå¦è ã®æ¹ã¯ãããã ãããã
ããã280è¡ç¨åº¦ã®JavaScriptã§ä½ãã... / JavaScriptã§ä½ããããããªç©çã·ãã¥ã¬... / JavaScriptã«ããæ³¢ã®ç©çã·ãã¥ã¬ã¼ã·ã§...ä»...å ¨14件
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}