Fix Makefile and KeyValue example
This commit is contained in:
parent
6328d5d713
commit
0d92d8221b
2
Makefile
2
Makefile
@ -7,8 +7,8 @@ test: deps
|
||||
npm run test
|
||||
|
||||
build: test
|
||||
npm run build
|
||||
mkdir -p examples/browser/lib/
|
||||
npm run build
|
||||
cp dist/orbitdb.min.js examples/browser/lib/orbitdb.min.js
|
||||
cp node_modules/ipfs/dist/index.min.js examples/browser/lib/ipfs.min.js
|
||||
@echo "Build success!"
|
||||
|
@ -7,6 +7,9 @@ const userId = 1
|
||||
const creatures = ['🐙', '🐬', '🐋', '🐠', '🐡', '🦀', '🐢', '🐟', '🐳']
|
||||
|
||||
const output = (user) => {
|
||||
if (!user)
|
||||
return
|
||||
|
||||
let output = ``
|
||||
output += `----------------------\n`
|
||||
output += `User\n`
|
||||
|
Loading…
x
Reference in New Issue
Block a user