File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head lang ="en ">
4
+ < meta charset ="UTF-8 ">
5
+ < title > Exceptionless Sample with SystemJS</ title >
6
+ </ head >
7
+ < body >
8
+ < script src ="https://jspm.io/system@0.16.js "> </ script >
9
+ < script type ="application/javascript ">
10
+ 'use strict' ;
11
+
12
+ System . import ( 'github:exceptionless/exceptionless.javascript' ) . then ( function ( exceptionless ) {
13
+ var client = exceptionless . ExceptionlessClient . default ;
14
+ client . config . apiKey = 'LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw' ;
15
+ client . config . serverUrl = 'http://localhost:50000' ;
16
+ client . config . useDebugLogger ( ) ;
17
+
18
+ // set some default data
19
+ client . config . defaultData [ 'SampleUser' ] = {
20
+ id : 1 ,
21
+ name : 'Blake' ,
22
+ password : '123456' ,
23
+ passwordResetToken : 'a reset token' ,
24
+ myPasswordValue : '123456' ,
25
+ myPassword : '123456' ,
26
+ customValue : 'Password' ,
27
+ value : {
28
+ Password : '123456'
29
+ }
30
+ } ;
31
+
32
+ client . config . defaultTags . push ( 'Example' , 'JavaScript' , 'jspm' , 'SystemJS' ) ;
33
+ client . submitLog ( 'Testing' ) ;
34
+ } ) ;
35
+ </ script >
36
+ </ body >
37
+ </ html >
You can’t perform that action at this time.
0 commit comments