1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

minor doc updates -- let's try pulling in the underscore test suite

This commit is contained in:
Jeremy Ashkenas 2010-01-04 19:15:24 -05:00
parent 2c1033f5da
commit 3e24cef69f
7 changed files with 79 additions and 60 deletions

View file

@ -6,7 +6,7 @@
return alert(this.name + " moved " + meters + "m.");
};
Snake = function Snake(name) {
return (this.name = name);
return this.name = name;
};
Snake.__superClass__ = Animal.prototype;
Snake.prototype = new Animal();
@ -16,7 +16,7 @@
return Snake.__superClass__.move.call(this, 5);
};
Horse = function Horse(name) {
return (this.name = name);
return this.name = name;
};
Horse.__superClass__ = Animal.prototype;
Horse.prototype = new Animal();