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

revised patch for #1234; consolidated Value#push and Value#concat into Value#add; removed unnecessary INDEX_PROTO

This commit is contained in:
Gerald Lewis 2011-08-12 13:38:34 -04:00
parent ab0b36a53f
commit c9fd0659c2
5 changed files with 144 additions and 144 deletions

View file

@ -135,7 +135,7 @@
o('Identifier', function() {
return new Value($1);
}), o('Value Accessor', function() {
return $1.concat($2);
return $1.add($2);
}), o('Invocation Accessor', function() {
return new Value($1, [$2]);
}), o('ThisProperty')
@ -174,10 +174,6 @@
return extend($2, {
soak: true
});
}), o('INDEX_PROTO Index', function() {
return extend($2, {
proto: true
});
})
],
IndexValue: [