
Coffeescript
zfc2201
架构设计、模块设计、技术培训、项目管理
展开
-
how to use coffee-script
TABLE OF CONTENTSTRY COFFEESCRIPTANNOTATED SOURCECoffeeScript is a little language that compiles into JavaScript. Underneath all those awkward braces and semicolons, JavaScript h转载 2013-01-29 00:56:47 · 4413 阅读 · 1 评论 -
coffee-script之面向对象初体验
在没有使用coffee-script之前,我们写类是这样写的://-------------抽象类形状--------------function Shape(edges) { this.edges = edges;}Shape.prototype.getArea = function() { return -1;}Shape.prototype.getEdges = fun原创 2013-01-29 15:11:29 · 499 阅读 · 0 评论 -
coffeescript 1.6.3
CoffeeScript is a little language that compiles into JavaScript. Underneath that awkward Java-esque patina, JavaScript has always had a gorgeous heart. CoffeeScript is an attempt to expose the good pa转载 2013-12-29 20:39:32 · 1374 阅读 · 0 评论 -
List.coffee
##Interfaceclass Iterator hasNext: -> next : -> remove : -> ##Interface class ListIterator extends Iterator hasPrevious : -> previous: ->原创 2014-01-04 18:38:45 · 466 阅读 · 0 评论 -
Tree.coffee
class TreeNode constructor: (@element, @firstChild, @nextSibling)-> class Comparable compareTo : -> class AANode constructor : (@element, @left, @right, @level = 1) ->##原创 2014-01-07 17:46:31 · 533 阅读 · 0 评论