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:
parent
ec58d6fda2
commit
e916d4648d
13 changed files with 27 additions and 38 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue