Make it more explicit that 'this' is the only possible value for tag in Value's constructor.

This commit is contained in:
Demian Ferreiro
2013-02-23 06:34:11 -03:00
parent fa1ffa66d3
commit a97c23a4bd
2 changed files with 3 additions and 3 deletions

View File

@@ -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']