åæ ä¼ç¤¾(Quipper)ã§ä»ãããããã風ã«ããããã¨å®£è¨ãã社å ããã¥ã¡ã³ããå ¬éããã æ¯ãã¦ãããã§ã¯ãªãã coffeescript Backbone Backbone.stickit (ãã¼ã¿ãã¤ã³ãã£ã³ã°) Chapling.js(ã¯ããªãã±ãªã®ã§ã©ãã§ãããããµã³ãã«ã³ã¼ãã¯ãã) backbone.stickitã¯å®å¿ã¨ä¿¡é ¼ã®NYT製ã(å®è³ªBackboneä½ã£ã¦ãDocumentCloudã¨ä¸ç·ã®ã¨ãã?) backbone.stickit ç®ç ãã¼ã¿ãã¤ã³ãã£ã³ã°ãå ¨é¢çã«ä½¿ã£ã¦åæç»ãæå°éã«ããã³ã¼ãã®è¦éãããããããã ã¢ãã«ã®å½¹å²ãæ示çã«ããMVVMãå°å ¥ããã çæ³çãªAPI æ¬ä¼¼ã³ã¼ã # ãã¥ã¼ã¢ãã«ã®å®ç¾© class TopicViewModel extends Model defaults: title: '' # ãã¶ãããã§ãã©ã¡ã¼ã¿å(
coffee script ã®ãã¼ã¸ã§ã³ãä¸ããããã¹ãããããããã«ãªãã¾ãããåé¡ã¨ãªã£ãã®ã¯ä¸è¨ã®ãããªã³ã¼ãããã㯠1.4 ã§ã¯åãã¾ãã 1.5 ã ã¨ã³ã³ãã¤ã«ã¨ã©ã¼ã«ãªãã¾ãã func 'arg' hoge: 'fuga' é¢æ°ã«æ¸¡ãå¼æ°ãè¤æ°ã§ããã¤æ¹è¡å¾ã«ãªãã¸ã§ã¯ãã渡ãã¦ããå ´åãæ¹è¡åã«ã«ã³ããå¿ é ã«ãªãã¾ãããä¸è¨ã®ããã«ããã¨åãã¾ãã func 'arg', hoge: 'fuga' åè Change in argument handling with 1.5 breaks code that worked in 1.4 · Issue #2715 · jashkenas/coffee-script
http://r7kamura.github.com/mmd.js/docs/parser.html https://github.com/r7kamura/mmd.js/blob/master/coffee/mmd/parser.coffee CoffeeScriptã§éçºãã¦ããmmd.js ã«ããã¥ã¡ã³ããæ¸ããã¨æã£ã¦è²ã ãã¼ã«ãæ¢ããçµæãDoccoãè¯ãã£ãã æ¸ãã³ã¹ããä½ããããç¨åº¦ãã©ã¼ããããçµ±ä¸ããã ã¨ãã£ã¿ã¨ãã©ã¦ã¶ã§ããããã«é©ãããã©ã¼ãããã§èªãããã¨ãããã®ãæ¢ãã¦ããã ä»ã«ã¯JSDocãYUIDocçãè¦ãã Doccoã¯æ°ããè¦ãããã¨ãå°ãªãç¹ãè¯ãã£ãã HTMLå½¢å¼ã§åºåãã¦ããã奴ã¯ãgithub-pagesã¨ãç¸æ§ãè¯ãã ã³ã¼ããªã¼ãã£ã³ã°ã®æã«éç¨ãæ®ãã¦ããç¨éã«ãè¯ããããããªãã $ npm install -g docco $
module.exports = (grunt) -> grunt.loadNpmTasks 'grunt-contrib' grunt.loadNpmTasks 'grunt-simple-mocha' grunt.initConfig connect: server: options: port: 8888 base: '.' watch: coffee: files: "src/**/*.coffee", tasks: ["coffee"] coffee_with_test: files: ["src/**/*.coffee", 'test/**/*_test.coffee'], tasks: ["coffee:compile", 'simplemocha'] coffee: compile: files: 'dist/all.js': [ "src/**/*.coffee" ] s
Installation Install the gem and run middleman init my_project to create a new Middleman site from the command line. See full install instructions Customize Your Site Check out the directory cd my_project. Middleman works right out of the box. Start reading the docs to find out what each directory is doing and how to customize your site. See advanced customizations Build and Deploy Running one com
Get started and then find a generator for your webapp. Generators are available for Angular, Backbone, React, Polymer and over 5600+ other projects. One-line install using npm: npm install -g yo What's Yeoman?Yeoman helps you to kickstart new projects, prescribing best practices and tools to help you stay productive. To do so, we provide a generator ecosystem. A generator is basically a plugin tha
ã¢ã»ãããã¤ãã©ã¤ã³ãªã©ã§ä½¿ããã¨ãã¦è©±é¡ã® Sprockets gem ãèªååãã¾ã¨ãã確èªããªãã§æ¸ãã¦ããã¨ãããããã¾ãã ã¢ã»ãããã¤ãã©ã¤ã³ãæ¯ããæè¡ â sprockets Sprockets: Rack-based asset packaging Web assets ãå ·ä½çã«ã¯ä¸»ã« CSS 㨠JavaScript ã®å§ç¸®/ä¾åæ§ã®è§£æ±º/å種ã½ã¼ã¹ããã®å¤æããµãã¼ãããããã® Rubygem ã asset ã¨ã¯è³ç£ã財ç£ã®æã å·çæç¹ç¾å¨ã®ãã¼ã¸ã§ã³ã¯ 2.0.3 ããªãã rack-sprockets gem ã¯ããsprockets( å ·ä½çã«ã¯ã require 'sprockets' map '/assets' do environment = Sprockets::Environment.new environment.append_path 'ap
2ã¶æãããåã«HackersNewsã§è¦ããã¦ã触ã£ã¦ã¿ããããããã£ãããã£ãã®ã§ç´¹ä»ã LiveScript http://gkz.github.com/LiveScript/ LiveScriptã¯CoffeeScriptãããã«æ¡å¼µããããJavaScriptã«ã³ã³ãã¤ã«ãããç³»è¨èªã JavaScriptãæåã«åä»ããããååãlivescriptãã«ç«ã¡è¿ã£ã¦ãé¢æ°åã®ç¹è²ãè²æ¿ãè¨èªã®ããã§ãã OOPã¨é¢æ°åã®ãã«ããã©ãã¤ã ã¨ããç¹ã§Scalaãªã©ã«è¿ãã®ããããã¾ãããåãå¼±ãScalaã§ãè¦ãç®ã¯Haskellã ã¤ã³ã¹ãã¼ã« npm install -g livescriptããé¢æ°åã£ã½ãããã人ã®ããã® prelude-lsã¨ä¸ç·ã«ä½¿ãã®ãæ¨å¥¨ããã¦ããããã§ã npm install prelude-ls追å ãããã¡ã½ããã«ã¤ãã¦ã¯ä»¥ä¸ãåç § prelud
CodeZineç·¨éé¨ã§ã¯ãç¾å ´ã§æ´»èºãããããããã¼ãã¹ã¿ã¼ã«ããããã®ã«ã³ãã¡ã¬ã³ã¹ãDevelopers Summitãããã¨ã³ã¸ãã¢ã®çããã¾ããã¼ã¹ãããããã®ã¤ãã³ããDevelopers Boostããªã©ããã¾ãã¾ãªã«ã³ãã¡ã¬ã³ã¹ãä¼ç»ã»éå¶ãã¦ãã¾ãã
About Doppio is a project to get Java running in the browser without any plug-ins. Right now it comprises a fairly complete VM and an implementation of the javap bytecode disassembler. (Doppio is also the Italian word for 'double', and is another name for a double espresso.) Doppio started out as the mid-term project for a Graduate Systems Seminar. It has since taken on a life of its own, and is c
Jasmine Headless WebKit Run your Jasmine specs at sonic boom speed! Jasmine is great. I love it. But running Jasmine when you need to test code that will run in a browser environment can be problematic and slow: The Jasmine gem's server makes getting up and testing very fast, but F5-ing your browser for each test run is distracting. Jasmine CI uses Selenium, which speeds up the process a bit, but
ã¾ããèªåã¯åè¨å¶ä½ãã¡ã¤ã³ã®ä¼ç¤¾ï¼PixelGridï¼ã«åãã¦ãã¦ãä¸å¿ãJavaScriptããä¼ç¤¾ã§ãã¨è¬³ã£ã¦ããã®ããã£ã¦ãJavaScriptã§UIãçµãä»äºãçµæ§å¤ããèªåã¯ããã¼ã¯ã¢ããåºèº«ãªJavaScriptããã°ã©ãã¼ã¿ãããªæãã«ãªã£ã¦ããæè¿ããããã®ãããã¾ã¾ã§Flashã§ä½ã£ã¦ãããã®ãJSã§ã¼ã¨ãã ã£ãããWebã¢ããªãAjaxãã¼ã¹ã§ã¼ã¨ããããããã®ã¨ããã¡ã¤ã³ã«ãã£ãããã¦ãã ãã®ãããªç¶æ³ã§ãè¤éãªUIãçµãããã«ã¯ãè¨è¨æ¹æ³ã«æ©ããjQueryã¯ç´ æ´ããããã©ããå ¥ãçµãã UIãè¨è¨ããããã®æ段ã¯æä¾ãã¦ãããªãããããªç¶æ³ã§ãèªåã¯jQuery UIã®ãã¼ã¹ã«ãªã£ã¦ããwidgetã¨ãããã¬ã¼ã ã¯ã¼ã¯ã使ã£ã¦ã¤ãã³ãã®ããããããã¦ããããã©ããããã¯ããã¾ã§jQueryãã©ã°ã¤ã³ãOOPã§æ¸ããããã«ããããã«ãããã®ã§ãããã¾ã§è±å¯ãªæ©è½ã
æ å ±æ度ãé«ãä½é¢ãæ°ã«ããITä¼æ¥ã®çããã¯ãä»æ¥ã¯ãã£ãã¨å¸°ãã¨è¨ããã¦ãã®ã§ããããã¨ãªããªã£ãã¨ã³ã¸ãã¢éãcho45ããã®é£ãéã«é£ããã¦ããã¹ã«ãã¦ããã®ã ã¨æããã¾ããå¼ç¤¾ãæããudzuraããããããã¹ã«ãã¦ãã®ãã¿ã¦ã¾ããã æãªã®ã§å¤§åå©ã«åå ãã¨ããããä»ã®æ¹ãè¨åãã¦ããªãããªãcoffee-scriptã®è¯ãé¢ãã«ã¤ãã¦æ¸ãããã¨æã£ã¦ãã¾ãã -> ã®ã¨ã¤ãªã¢ã¹ããé¢æ°ãªãã¸ã§ã¯ãã®æèãå¤ãã > ã®é¢æ°å®ç¾©ã¯JSæ¬æ¥ã®é¢æ°åè¨èªã¸ã®æèãå¼ã³è¦ã¾ãã¾ãããããããä»ã¾ã§ãé¢æ°åãã©ãã®è¨èªããã³ã·ã£ã«ã ã£ãããã«é¢æ°ãªãã¸ã§ã¯ããæåæ°çãªåé¡ã§ä½¿ãã«ããã£ãã®ã§ãã ãã³ãã¬ã¼ãã¨ã³ã¸ã³ã®Coffeekupã§ã¯ãé«éé¢æ°ã®å ¥ãåã«ãã£ã¦DOMã表ç¾ãããªãã¦ãã¨ããã£ã¦ã¾ãã doctype 5 html -> head -> meta charset:
I have some coffeescript like the following: class foo: @bar = 'bob loblaw' processRows: -> $("#my-table>tr").each -> id = $(this).attr("id") @processRow id processRow: (id) -> console.log @bar + id So my problem is: I need this to reference the .each context inside the loop to get at id, but I also would like this to reference the class instance inside foo.processRow()---which it does not current
ã©ã³ãã³ã°
ãç¥ãã
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}