File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!doctype html>
2
+ < html >
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
+ < meta http-equiv ="X-UA-Compatible " content ="ie=edge ">
7
+ < title > OpenBCI Utilities</ title >
8
+ </ head >
9
+ < body >
10
+ < button id ="connect ">
11
+ Print something
12
+ </ button >
13
+ < pre > See data in the console</ pre >
14
+ < script src ="../../dist/openbciutilities.var.js "> </ script >
15
+ < script src ="./index.js "> </ script >
16
+ </ body >
17
+ </ html >
Original file line number Diff line number Diff line change
1
+
2
+ const onConnectClick = async ( ) => {
3
+ const OpenBCIUtilties = new OpenBCIUtilities ( ) ;
4
+ console . log ( OpenBCIUtilties . Constants . isString ( "taco" ) ) ;
5
+ } ;
6
+
7
+ document . getElementById ( 'connect' )
8
+ . addEventListener ( 'click' , onConnectClick ) ;
You can’t perform that action at this time.
0 commit comments