forked from jashkenas/coffeescript
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added children macro to Node, using it so that all nodes now have a '…
…children' method -- used for safe references to 'this' within closure wrappers
- Loading branch information
Showing
5 changed files
with
100 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,10 @@ def hash | |
def match(regex) | ||
@value.match(regex) | ||
end | ||
|
||
def children | ||
[] | ||
end | ||
end | ||
|
||
end |
Oops, something went wrong.