![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
coffeescript
biyeah
这个作者很懒,什么都没留下…
展开
-
coffeescript与jquery结合
这两者的结合,可提高开发效率。 [code="html"] jQuery meets CoffeeScript show_message = (msg) -> $('#message').hide().text(msg).fadeIn(2222, -> $('#message').append('!') ) $ -> show_message...原创 2011-12-12 01:35:59 · 175 阅读 · 0 评论 -
coffeescript+prototypejs使编写nodejs更象ruby-like
首先安装prototype for nodejs [quote]npm install prototype[/quote] 看个例子 [code="coffeescript"]prototype = require 'prototype' Object.extend global, prototype (9).times (x)-> console.log x [1,...原创 2011-12-21 12:01:11 · 141 阅读 · 0 评论