This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var inherits = require('inherits') | |
var Parser = require('../parser').Parser | |
module.exports = DoneParser | |
inherits(DoneParser, Parser) | |
function DoneParser () { | |
Parser.call(this) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html><body><script src="/bundle.js"></script></body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
var w = require('global/window') | |
var d = require('global/document') | |
var yo = require('yo-yo') | |
// var xtend = require('xtend') | |
// var missi = require('mississippi') | |
var inject = require('reconnect-core') | |
var websocket = require('websocket-stream') | |
var router = require('router-on-websocket-stream') | |
var loc = w.location |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var d = require('global/document') | |
var yo = require('yo-yo') | |
var ready = require('document-ready') | |
var css = require('sheetify') | |
var prefix = css ` | |
:host { | |
display: flex; | |
justify-context: center; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
var path = require('path') | |
var http = require('http') | |
var ecstatic = require('ecstatic')(path.join(__dirname, 'static')) | |
var websocket = require('websocket-stream') | |
var miss = require('mississippi') | |
var port = 3003 | |
var app = http.createServer(ecstatic) | |
websocket.createServer({server: app}, s => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
'use strict' | |
var url = require('url') | |
var path = require('path') | |
var miss = require('mississippi') | |
var mkdirp = require('mkdirp') | |
var notifier = require('node-notifier') | |
var config = require('./config') | |
var trombone = require('../trombone') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html><body><script src="./bundle.js"></script></body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var d = require('global/document') | |
var onload = require('on-load') | |
var yo = require('yo-yo') | |
var sendAction = require('send-action') | |
var root = d.createElement('main') | |
var send = sendAction({ | |
onAction (state, action, data) { | |
console.log('onAction') | |
console.log(state) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const xtend = require('xtend') | |
const d = require('global/document') | |
const onload = require('on-load') | |
const sheetRouter = require('sheet-router') | |
const href = require('sheet-router/href') | |
const spinit = require('./spinit') | |
const yo = spinit.html | |
const root = d.createElement('main') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const sheetRouter = require('sheet-router') | |
const href = require('sheet-router/href') | |
const html = require('yo-yo') | |
const d = require('global/document') | |
const mainView = params => html ` | |
<div style="display:flex;flex-direction:row"> | |
<div><a href="/Twiggy/orgs">gotcha Twiggy !</a></div> | |
<div><a href="/ishiduca" data-no-routing>gotcha ishiduca !</a></div> | |
</div> |