Skip to content

Instantly share code, notes, and snippets.

View Connoropolous's full-sized avatar

Connor Turland Connoropolous

View GitHub Profile
@Connoropolous
Connoropolous / index.js
Created January 17, 2019 20:04
use of Option seems to work
// This test file uses the tape testing framework.
// To learn more, go here: https://github.com/substack/tape
const test = require('tape');
const { Config, Container } = require("@holochain/holochain-nodejs")
const dnaPath = "./dist/bundle.json"
// closure to keep config-only stuff out of test scope
const container = (() => {
const Container = require('@holochain/holochain-nodejs');
// instantiate an app from the DNA JSON bundle
const app = Container.instanceFromNameAndDna("app", "dist/bundle.json")
const app2 = Container.instanceFromNameAndDna("app2", "dist/bundle.json")
// activate the new instance
app.start()
app2.start()

Keybase proof

I hereby claim:

  • I am Connoropolous on github.
  • I am connorscott (https://keybase.io/connorscott) on keybase.
  • I have a public key whose fingerprint is C551 A5A1 B06E AFC9 3EB3 E318 66C4 A949 30C0 60EA

To claim this, I am signing this object:

<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;