Skip to content

Commit

Permalink
fixed Property#toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Oct 21, 2011
1 parent f0ffffc commit 424775b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nodes/property.js
Expand Up @@ -55,7 +55,7 @@ Property.prototype.clone = function(){
*/

Property.prototype.toString = function(){
return 'property(' + this.name + ', ' + this.expr + ')';
return 'property(' + this.segments.join('') + ', ' + this.expr + ')';
};

/**
Expand Down
1 change: 1 addition & 0 deletions lib/visitor/compiler.js
Expand Up @@ -11,6 +11,7 @@

var Visitor = require('./')
, nodes = require('../nodes')
, utils = require('../utils')
, fs = require('fs');

/**
Expand Down

0 comments on commit 424775b

Please sign in to comment.