jQueryã¯é·ã£ããããJavaScriptã®æ§æãã·ã³ãã«ã«æ¸ãæ¹åã¸ã¨å°ãã¦ãããç©ã§ããã ã¸ã£ã¯ãã³ã¼ãã¼ã«ç½®ãæãããã¨ã§ãããã·ã³ãã«ã«æ¸ããã¨ãã§ãã¾ãã ä¾ãã°ãã³ã¼ã«ããã¯é¢æ° ã³ã¼ã«ããã¯é¢æ°å ã§thisã®ä¸èº«ãå¤æ´ãããæããããªæ¸ãæ¹ã«ãªãã¨æãã¾ãã $('#foo').click($.proxy(function() { this.bar(); }, this)); ãããã¯ããã var self = this; $('#foo').click(function() { self.bar(); }); ã§ãããCoffeeScriptã ã¨ããæ¸ãã¾ãã $('#foo').click => @bar() è¶ çµ¶ãã£ããã§ããã ã¡ãªã¿ã«ãã®CoffeeScriptã¯ä»¥ä¸ã®ãããªJavaScriptã«ã³ã³ãã¤ã«ããã¾ãã var __bind = functi
{{#tags}}- {{label}}
{{/tags}}