Skip to content

Commit

Permalink
Browser working
Browse files Browse the repository at this point in the history
  • Loading branch information
gfodor committed Jul 27, 2022
1 parent a8b4721 commit 50c9de6
Show file tree
Hide file tree
Showing 8 changed files with 9,415 additions and 1,295 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
dist
2 changes: 2 additions & 0 deletions esbuild.inject.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export let Buffer = require('buffer').Buffer
export let process = require('process/browser')
7 changes: 7 additions & 0 deletions examples/test/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<html>
<head>
<script type="module" src="index.js"></script>
</head>
<body style="display: flex; flex-direction: column;">
</body>
</html>
3 changes: 3 additions & 0 deletions examples/test/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import P2PCF from './p2pcf.js'
const p2pcf = new P2PCF('testguy', 'room8888')
p2pcf.start()
Loading

0 comments on commit 50c9de6

Please sign in to comment.