Index: src/mirror-delay.js |
=================================================================== |
--- src/mirror-delay.js (revision 3753) |
+++ src/mirror-delay.js (working copy) |
@@ -2089,8 +2089,10 @@ |
content.evalFromScript = |
this.serializeReference(mirror.evalFromScript()); |
var evalFromLocation = mirror.evalFromLocation() |
- content.evalFromLocation = { line: evalFromLocation.line, |
- column: evalFromLocation.column} |
+ if (evalFromLocation) { |
+ content.evalFromLocation = { line: evalFromLocation.line, |
+ column: evalFromLocation.column }; |
+ } |
if (mirror.evalFromFunctionName()) { |
content.evalFromFunctionName = mirror.evalFromFunctionName(); |
} |