Skip to content

Commit

Permalink
minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Llamas committed Aug 15, 2013
1 parent bf29bda commit af09ad2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions lib/stringify.js
Expand Up @@ -88,11 +88,13 @@ module.exports = function (stringifier, options){
var value;
var replace;

var o = {
assert: function (){
return replace.property ? replace.value : true;
}
};
if (options.replacer){
var o = {
assert: function (){
return replace.property ? replace.value : true;
}
};
}

if (stringifier._header){
meta.comment = true;
Expand Down

0 comments on commit af09ad2

Please sign in to comment.