Skip to content

Commit 9dc81e5

Browse files
committed
v1.0.1
1 parent 301f96d commit 9dc81e5

3 files changed

Lines changed: 54 additions & 8 deletions

File tree

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@
77
.Trashes
88
ehthumbs.db
99
Thumbs.db
10-
11-
10+
node_modules

README.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# FancyTrack
22

3-
Build v1.0.0
3+
Build v1.0.1
44

55
Free Tiny FancyTrack JavaScript error tracking library from FancyGrid team.
66
FancyTrack is light alternative to [TrackJS](https://trackjs.com/) service.
@@ -17,6 +17,8 @@ Include a reference to the FancyTrack library
1717
<script src="/fancytrack/fancytrack.min.js"></script>
1818
```
1919
The `FancyTrack` object is now accessible. Happy error tracking!
20+
21+
### Sample: Base Init
2022
```html
2123
<script>
2224
FancyTrack.init({
@@ -25,7 +27,7 @@ FancyTrack.init({
2527
</script>
2628
```
2729

28-
## Method
30+
### Sample: Set method of request
2931
```html
3032
<script>
3133
FancyTrack.init({
@@ -35,14 +37,28 @@ FancyTrack.init({
3537
</script>
3638
```
3739

40+
### Sample: Track/Send custom error
41+
```html
42+
<script>
43+
FancyTrack.init({
44+
url: '/trackerror/'
45+
});
46+
47+
FancyTrack.track("My Error");
48+
</script>
49+
```
50+
3851
## Parametres that FancyTrack sends
3952

40-
* url
53+
* browser
54+
* columnNumber
4155
* errorText
4256
* errorName
4357
* errorStack
4458
* lineNumber
45-
* columnNumber
59+
* mobile
60+
* os
61+
* url
4662

4763
## Package Directory
4864
The package includes the following:

client/fancytrack.min.js

Lines changed: 33 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)