Skip to content

Commit dcd928f

Browse files
committed
Allow StackFrames to be constructed using an evalOrigin
Users no longer need to supply evalOrigin separately.
1 parent ab81a2e commit dcd928f

File tree

7 files changed

+318
-640
lines changed

7 files changed

+318
-640
lines changed

dist/stackframe.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@
3030
var numericProps = ['columnNumber', 'lineNumber'];
3131
var stringProps = ['fileName', 'functionName', 'source'];
3232
var arrayProps = ['args'];
33+
var objectProps = ['evalOrigin'];
3334

34-
var props = booleanProps.concat(numericProps, stringProps, arrayProps);
35+
var props = booleanProps.concat(numericProps, stringProps, arrayProps, objectProps);
3536

3637
function StackFrame(obj) {
3738
if (!obj) return;

dist/stackframe.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/stackframe.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)