Fix Makefile and KeyValue example

This commit is contained in:
haad 2017-11-28 12:30:40 +01:00
parent 6328d5d713
commit 0d92d8221b
2 changed files with 4 additions and 1 deletions

View File

@ -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!"

View File

@ -7,6 +7,9 @@ const userId = 1
const creatures = ['🐙', '🐬', '🐋', '🐠', '🐡', '🦀', '🐢', '🐟', '🐳']
const output = (user) => {
if (!user)
return
let output = ``
output += `----------------------\n`
output += `User\n`