Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
fix for sidorares#7 - don't crash on unknown .dot command
  • Loading branch information
sidorares committed Dec 15, 2013
1 parent 611fb81 commit 3f3e375
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ ChromeREPL.prototype = {
},

writer: function(output) {

if (!output)
return ''

function propertyValue(t, v) {
if (t === 'string')
Expand Down

0 comments on commit 3f3e375

Please sign in to comment.