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

removed all traces of 'extends' -- it's not any shorter or more convenient than just setting the prototype

This commit is contained in:
Jeremy Ashkenas 2009-12-22 12:08:29 -05:00
parent ec58d6fda2
commit e916d4648d
13 changed files with 27 additions and 38 deletions

View file

@ -1,4 +1,6 @@
(function(){
// Eat lunch.
var lunch;
var a = ['toast', 'cheese', 'wine'];
var d = [];
@ -7,6 +9,7 @@
d[b] = food.eat();
}
lunch = d;
// Zebra-stripe a table.
var e = table;
for (var f=0, g=e.length; f<g; f++) {
var row = e[f];