-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3bcfd01
commit d97697c
Showing
5 changed files
with
125 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# Custom for Visual Studio | ||
*.cs diff=csharp | ||
|
||
# Standard to msysgit | ||
*.doc diff=astextplain | ||
*.DOC diff=astextplain | ||
*.docx diff=astextplain | ||
*.DOCX diff=astextplain | ||
*.dot diff=astextplain | ||
*.DOT diff=astextplain | ||
*.pdf diff=astextplain | ||
*.PDF diff=astextplain | ||
*.rtf diff=astextplain | ||
*.RTF diff=astextplain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# OS generated files # | ||
###################### | ||
.DS_Store | ||
.DS_Store? | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
ehthumbs.db | ||
Thumbs.db | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,69 @@ | ||
# FancyTrack | ||
JavaScript Error Tracking library | ||
|
||
Build v1.0.0 | ||
|
||
Free Tiny FancyTrack JavaScript error tracking library from FancyGrid team. | ||
FancyTrack is light alternative to https://trackjs.org service. | ||
|
||
##Pros and Cons | ||
It is free and light. | ||
But at the moment it overrides window.onerror handler. | ||
window.onerror is not supported by IE Edge | ||
|
||
## Install | ||
|
||
#### *bower* | ||
``` | ||
bower install fancytrack | ||
``` | ||
|
||
## Quick Start | ||
Include a reference to the FancyTrack library | ||
|
||
```html | ||
<script src="/fancytrack/fancytrack.min.js"></script> | ||
``` | ||
The `FancyTrack` object is now accessible. Happy error tracking! | ||
```html | ||
<script> | ||
FancyTrack.init({ | ||
url: '/trackerror/' | ||
}); | ||
</script> | ||
``` | ||
|
||
## Method | ||
```html | ||
<script> | ||
FancyTrack.init({ | ||
url: '/trackerror/', | ||
method: 'POST' | ||
}); | ||
</script> | ||
``` | ||
|
||
## Parametres that FancyTrack sends | ||
|
||
* url | ||
* errorText | ||
* errorName | ||
* errorStack | ||
* lineNumber | ||
* columnNumber | ||
|
||
## Package Directory | ||
The package includes the following: | ||
``` | ||
| README.md | ||
├── client | ||
│ ├── fancytrack.min.js | ||
│ ├── modules | ||
| ... | ||
``` | ||
|
||
## Resources | ||
Capture and report JavaScript errors with window.onerror | ||
https://blog.sentry.io/2016/01/04/client-javascript-reporting-window-onerror.html | ||
|
||
## Support | ||
If you need any assistance or would like to report any bugs found in FancyTrack, please contact us at support@fancygrid.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "fancytrack", | ||
"description": "Repo to allow easy downloading of FancyTrack via Bower.", | ||
"main": "client/fancytrack.min.js", | ||
"keywords": [ | ||
"fancygrid", | ||
"error", | ||
"tracking", | ||
"javascript" | ||
], | ||
"homepage": "https://github.com/FancyGrid/FancyTrack", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
], | ||
"dependencies": {}, | ||
"devDependencies": {}, | ||
"private": false | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.