mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
Make it more explicit that 'this' is the only possible value for tag in Value's constructor.
This commit is contained in:
@@ -386,7 +386,7 @@ exports.Value = class Value extends Base
|
||||
|
||||
constructor: (@base, @properties, tag) ->
|
||||
@properties or= []
|
||||
@[tag] = true if tag
|
||||
@this = true if tag is 'this'
|
||||
|
||||
children: ['base', 'properties']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user