Skip to content

Commit 457ee71

Browse files
author
Eric Wendelin
committed
Rename project to avoid collisions.
1 parent c64317f commit 457ee71

File tree

8 files changed

+23
-22
lines changed

8 files changed

+23
-22
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
stack-parser.js
1+
error-stack-parser.js
22
===============
33

44
Extract meaning from JS Errors

bower.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "stack-parser",
2+
"name": "error-stack-parser",
33
"version": "0.1.0",
4-
"main": "./stack-parser.js",
5-
"homepage": "https://github.com/stacktracejs/stack-parser.js",
4+
"main": "./error-stack-parser.js",
5+
"homepage": "https://github.com/stacktracejs/error-stack-parser.js",
66
"authors": [
77
"Eric Wendelin <me@eriwen.com>"
88
],

component.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
2-
"name": "stack-parser",
2+
"name": "error-stack-parser",
33
"version": "0.1.0",
4-
"main": "./stack-parser.js",
5-
"dependencies": {}
4+
"main": "./error-stack-parser.js",
5+
"dependencies": {
6+
"stackframe": "0.1.0"
7+
}
68
}

stack-parser.js renamed to error-stack-parser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
} else if (typeof exports === 'object') {
88
module.exports = factory(require('stackframe'));
99
} else {
10-
root.StackParser = factory(root.StackFrame);
10+
root.ErrorStackParser = factory(root.StackFrame);
1111
}
1212
}(this, function () {
1313
'use strict';
14-
return function StackParser() {
14+
return function ErrorStackParser() {
1515
this.firefoxSafariStackEntryRegExp = /\S+\:\d+/;
1616
this.chromeIEStackEntryRegExp = /\s+at /;
1717

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "stack-parser",
2+
"name": "error-stack-parser",
33
"description": "Extract meaning from JS Errors",
44
"author": "Eric Wendelin <me@eriwen.com> (http://eriwen.com)",
55
"version": "0.1.0",
@@ -10,16 +10,16 @@
1010
},
1111
"repository": {
1212
"type": "git",
13-
"url": "git://github.com/stacktracejs/stack-parser.git"
13+
"url": "git://github.com/stacktracejs/error-stack-parser.git"
1414
},
1515
"bugs": {
16-
"url": "https://github.com/stacktracejs/stack-parser/issues"
16+
"url": "https://github.com/stacktracejs/error-stack-parser/issues"
1717
},
1818
"licenses": [{
1919
"type": "Public Domain",
20-
"url": "https://github.com/stacktracejs/stack-parser/blob/master/LICENSE"
20+
"url": "https://github.com/stacktracejs/error-stack-parser/blob/master/LICENSE"
2121
}],
22-
"main": "./stack-parser.js",
22+
"main": "./error-stack-parser.js",
2323
"scripts": {
2424
"test": "make jstd"
2525
}

spec/SpecRunner.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
<script type="text/javascript" src="../bower_components/jasmine/lib/jasmine-core/jasmine-html.js"></script>
1010
<script type="text/javascript" src="../bower_components/stackframe/stackframe.js"></script>
1111

12-
<script type="text/javascript" src="../stack-parser.js"></script>
12+
<script type="text/javascript" src="../error-stack-parser.js"></script>
1313

1414
<script type="text/javascript" src="captured-errors.js"></script>
1515
<script type="text/javascript" src="spec-helper.js"></script>
16-
<script type="text/javascript" src="stack-parser-spec.js"></script>
16+
<script type="text/javascript" src="error-stack-parser-spec.js"></script>
1717

1818
<script type="text/javascript">
1919
(function() {
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/* global StackFrame: false, StackParser: false, CapturedExceptions: false */
2-
describe('StackParser', function () {
1+
/* global StackFrame: false, ErrorStackParser: false, CapturedExceptions: false */
2+
describe('ErrorStackParser', function () {
33
describe('#parse', function () {
4-
var unit = new StackParser();
4+
var unit = new ErrorStackParser();
55
it('should parse Safari 6 Error.stack', function () {
66
var stackFrames = unit.parse(CapturedExceptions.SAFARI_6);
77
expect(stackFrames).toBeTruthy();

spec/jsTestDriver.conf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ load:
55
- ../bower_components/jasmine-jstd-adapter/src/JasmineAdapter.js
66
- ../bower_components/stackframe/stackframe.js
77
- captured-errors.js
8-
- ../stack-parser.js
8+
- ../error-stack-parser.js
99
- spec-helper.js
1010
test:
11-
- stack-parser-spec.js
12-
11+
- error-stack-parser-spec.js
1312
timeout: 30

0 commit comments

Comments
 (0)