项目原始demo,不改动
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

123456789101112131415161718192021222324252627282930313233343536373839
  1. ## v1.0.x
  2. StackFrame v1.0 is out! Major features:
  3. * `eval`, native, and global code can now be represented.
  4. * `evalOrigin` represents location of code within an eval'd String or Function
  5. * BREAKING CHANGE: `new StackFrame(obj)` is now constructed with an Object parameter. For example:
  6. ```js
  7. var stackFrame = new StackFrame({
  8. functionName: 'funName',
  9. args: ['args'],
  10. fileName: 'http://localhost:3000/file.js',
  11. lineNumber: 1,
  12. columnNumber: 3288,
  13. isEval: true,
  14. isNative: false,
  15. source: 'ORIGINAL_STACK_LINE'
  16. });
  17. ```
  18. ## v0.3.x
  19. * Add source (original stack line) to StackFrame definition
  20. ## v0.2.2
  21. * Add name to AMD definition
  22. * Better docs
  23. ## v0.2.1
  24. * Add minified/source-mapped distribution
  25. ## v0.2.0
  26. * Add .toString() method compatible with stacktrace.js
  27. ## v0.1.1
  28. * Clean up npm package
  29. ## v0.1.0
  30. * Draft implementation