Skip to content

Commit

Permalink
removing unused @name
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Dec 19, 2011
1 parent dd25ac0 commit 8d8c345
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/coffee-script/nodes.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/nodes.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ exports.Class = class Class extends Base
# constructor, property assignments, and inheritance getting built out below.
compileNode: (o) ->
decl = @determineName()
name = decl or @name or '_Class'
name = decl or '_Class'
name = "_#{name}" if name.reserved
lname = new Literal name

Expand Down

0 comments on commit 8d8c345

Please sign in to comment.