Bug 760791 - GCLI tilt open command is broken: "TypeError: value is undefined"; r=dcamp

This commit is contained in:
Joe Walker 2012-06-02 21:12:25 +01:00
parent c3587b66c3
commit ec1b18f2aa

View File

@ -3781,6 +3781,9 @@ function NodeType(typeSpec) {
NodeType.prototype = Object.create(Type.prototype);
NodeType.prototype.stringify = function(value) {
if (value == null) {
return '';
}
return value.__gcliQuery || 'Error';
};