Getting started Hogan.js is a 3.4k JS templating engine developed at Twitter. Use it as a part of your asset packager to compile templates ahead of time or include it in your browser to handle dynamic templates. If you're developing with Node.js, just use NPM to add the Hogan package. $ npm install hogan.js Alternatively, drop hogan.js in your browser by adding the following script. <script src="h
å®å ¨ã«é ãã¦ãã¾ã£ã¦ãã¦ãã¯ãAdvent Calendarã§ã¯ãªããªã£ã¦ãããBackbone.js Advent Calendarãã§ããï¼ãªãã¨ã25æ¥ã¾ã§ç¶ãã¾ã:) ã¡ãªã¿ã«æ¨æ¥ã¾ã§ã®ãBackbone.jså ¥éãã·ãªã¼ãº(by @taka84u9)ãã¨ã¦ãããããããã®ã§ï¼Backbone.jsã使ã£ããã¨ã®ãªã人ã¯ã¾ããã¡ãããèªãã®ãããããã§ãï¼ (http://qiita.com/adcal/backbone ã®12/11åãã) ã¯ããã« Ajaxãå©ç¨ãã¦åçã«HTMLããã¼ãããã¨ãï¼å¯¾è±¡HTMLãè¤éã«ãªã£ã¦ããã¨JSã ãã§ä½ãã®ã¯ã³ã¹ãã大ãããªã£ã¦ãã¾ãï¼(appendã®å±±) ã¾ãã±ã£ã¨ã³ã¼ããè¦ãã¨ãã«ã©ãããHTMLã«ãªããããããï¼ãã¶ã¤ãã¼ã¨å ±åä½æ¥ãããã«ãããªãã¾ãï¼ã¿ã°ã1ã¤è¿½å ãããã ããªã®ã«ï¼JSã®ã³ã¼ããèªãã§è¿½å å¦çãæ¸ãã®ã¯ããªãé¢å
I don't think I need to convince you that testing your JavaScript code is a good idea. But, it can sometimes prove tedious to test JavaScript code that requires a DOM. This means you need to test your code in the browser and can't use the terminal, right? Wrong, actually: enter PhantomJS. What exactly is PhantomJS? Well, here's a blurb from the PhantomJS website: PhantomJS is a headless WebKit wit
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}