Skip to content

Commit 1a3adc4

Browse files
author
Eric Wendelin
committed
Implement StackTrace#get and StackTrace#fromError for v1.0
1 parent 91de59b commit 1a3adc4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+416
-8576
lines changed

.gitignore

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
.gradle
2-
*/.DS_Store
3-
.DS_Store
4-
target
5-
.idea
1+
lib-cov
2+
*.seed
3+
*.log
4+
*.csv
5+
*.dat
6+
*.out
7+
*.pid
8+
*.gz
9+
10+
pids
11+
logs
12+
results
13+
614
node_modules
15+
bower_components
716

17+
.idea

.jshintrc

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"nonew": true,
3+
"curly": true,
4+
"noarg": true,
5+
"trailing": true,
6+
"forin": true,
7+
"noempty": true,
8+
"node": true,
9+
"eqeqeq": true,
10+
"undef": true,
11+
"bitwise": true,
12+
"newcap": true,
13+
"immed": true,
14+
"browser": true,
15+
"es3": true,
16+
"camelcase": true,
17+
"nonbsp": true,
18+
"freeze": true,
19+
"predef": {
20+
"afterEach": false,
21+
"beforeEach": false,
22+
"define": false,
23+
"describe": false,
24+
"expect": false,
25+
"exports": false,
26+
"it": false,
27+
"jasmine": false,
28+
"require": false,
29+
"runs": false,
30+
"spyOn": false,
31+
"waitsFor": false,
32+
"files": true,
33+
"exclude": true,
34+
"autoWatch": true,
35+
"reporters": true,
36+
"port": true,
37+
"JASMINE": true,
38+
"JASMINE_ADAPTER": true,
39+
"matchers": true,
40+
"priv": true
41+
}
42+
}

.npmignore

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
1-
target/
2-
test/
3-
gradle/
4-
gradlew.*
5-
jshint.json
6-
stacktrace-bookmarklet.js
7-
build.gradle
8-
1+
bower_components/

LICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
This is free and unencumbered software released into the public domain.
2+
3+
Anyone is free to copy, modify, publish, use, compile, sell, or
4+
distribute this software, either in source code form or as a compiled
5+
binary, for any purpose, commercial or non-commercial, and by any
6+
means.
7+
8+
In jurisdictions that recognize copyright laws, the author or authors
9+
of this software dedicate any and all copyright interest in the
10+
software to the public domain. We make this dedication for the benefit
11+
of the public at large and to the detriment of our heirs and
12+
successors. We intend this dedication to be an overt act of
13+
relinquishment in perpetuity of all present and future rights to this
14+
software under copyright law.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.
23+
24+
For more information, please refer to <http://unlicense.org>

LICENSE.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

Makefile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
BROWSER_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
2+
3+
deploy:
4+
npm publish
5+
6+
browser:
7+
open spec/spec-runner.html
8+
9+
phantom:
10+
/usr/bin/env DISPLAY=:1 phantomjs spec/lib/run-jasmine.js spec/spec-runner.html
11+
12+
jstd:
13+
/usr/bin/env DISPLAY=:1 java -jar spec/JsTestDriver-1.3.5.jar --config spec/jsTestDriver.conf --browser ${BROWSER_PATH} --port 4224 --tests 'all' --testOutput './target'
14+
15+
build: components
16+
@component build --dev
17+
18+
components: component.json
19+
@component install --dev
20+
21+
clean:
22+
rm -fr build components template.js
23+
24+
.PHONY: clean

bower.json

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,37 @@
11
{
2-
"name": "stacktrace-js",
3-
"version": "0.6.2",
4-
"main": "./stacktrace.js",
5-
"dependencies": {},
6-
"ignore": [
7-
"**/.*",
8-
"test",
9-
"node_modules",
10-
"components"
11-
]
2+
"name": "stacktrace-js",
3+
"version": "1.0.0",
4+
"main": "./stacktrace.js",
5+
"homepage": "https://github.com/stacktracejs/stacktrace.js",
6+
"authors": [
7+
"Eric Wendelin <me@eriwen.com>"
8+
],
9+
"description": "Extract meaning from JS Errors",
10+
"dependencies": {
11+
"error-stack-parser": "~0.1.0"
12+
},
13+
"devDependencies": {
14+
"jasmine": "~1.3.1",
15+
"jasmine-jstd-adapter": "~1.1.2"
16+
},
17+
"moduleType": [
18+
"amd",
19+
"globals",
20+
"node"
21+
],
22+
"keywords": [
23+
"stacktrace",
24+
"stack-trace",
25+
"backtrace",
26+
"cross-browser",
27+
"framework-agnostic",
28+
"error"
29+
],
30+
"license": "Public Domain",
31+
"ignore": [
32+
"**/.*",
33+
"node_modules",
34+
"bower_components",
35+
"spec"
36+
]
1237
}

build.gradle

Lines changed: 0 additions & 123 deletions
This file was deleted.

gradle/wrapper/gradle-wrapper.jar

-44.4 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)