I hereby claim:
- I am cyio on github.
- I am cyio (https://keybase.io/cyio) on keybase.
- I have a public key ASBZ5oRmctebif42iuuGVFn6j3K68Up0kxs0Et4x3-9jtgo
To claim this, I am signing this object:
00:19:40 | DevelopingZack: I'll say the same. Thank you. | |
00:19:51 | DevelopingZack: Yeah, I didn't. I didn't have any affiliation here with Coin Geek until Alex said, hey, do you want to do this? And I was like, yeah, let's do it. | |
00:19:57 | DevelopingZack: And if it wasn't for everybody listening right now, we wouldn't have kept going. So really. | |
00:20:01 | DevelopingZack: Thank you to the audience, and that's kind of the most important thing. | |
00:20:05 | AlexJVidal: No doubt, no doubt. | |
00:20:09 | BLUVNBU: 3 knots. | |
00:20:15 | AlexJVidal: So I see we've already got some requests. What's up, Matt? Welcome to the stage. Be love. And be you, my brother from another mother. | |
00:20:15 | BLUVNBU: What's up? | |
00:20:17 | BLUVNBU: Hey, Zach. | |
00:20:20 | BLUVNBU: Yes. |
body { | |
/* use dark theme color for code */ | |
--code-background: #242424; | |
--code-normal: #b3b3b3; | |
--code-keyword: #fa99cd; | |
--code-property: #53dfdd; | |
--code-function: #e0de71; | |
--code-string: #44cf6e; | |
--code-operator: #fb464c; | |
--code-comment: #666666; |
addEventListener("fetch", (event) => { | |
event.respondWith( | |
handleRequest(event.request).catch( | |
(err) => new Response(err.stack, { status: 500 }) | |
) | |
); | |
}); | |
async function handleRequest(request) { | |
console.log(`${request.method} ${request.url}`) |
import { goAuth } from '@/api/buzz.ts' | |
import AppConfig from '@/config/' | |
import MetaIdJs from "metaidjs" | |
let singleton | |
// 调用:window.__metaIdJs.addProtocolNode_(config); | |
export default function SDKInit() { | |
if (singleton) return singleton | |
singleton = new Promise((resolve, reject) => { |
javascript: void((function() { | |
function $(id) { | |
return w.document.getElementById(id) | |
} | |
var w = window.open("about:blank", "", "width=500,height=150"); | |
w.document.title = 'Refer to "' + document.title + '"'; | |
w.document.write('<style>*{margin:0;padding:0;font-size:16px;}body{margin:10px;}label,input{margin-bottom:4px;}label{white-space:nowrap;clear:both;font-weight:bold;height:20px;width:15%25;float:left;line-height:20px;text-align:right;display:block;font-family:arial,sans-serif}input{font-family:monospace;border:dashed 1px black;width:80%25;float:right;height:20px;}</style><label for="text">Text</label><input id="text"></input><label for="markdown">Markdown</label><input id="markdown"><label for="markdown-image">MD Image</label><input id="markdown-image"></input><label for="html">HTML</label><input id="html"></input><label for="title">Title</label><input id="title"></input>'); | |
$('html').value = '<a href="' + encodeURI(location.href) + '" target="_blank">' + document.title + '</a>'; | |
$('title').value = |
/* eslint no-underscore-dangle: 0 */ | |
import * as Sentry from '@sentry/browser'; | |
const videoObj = { | |
videoWaitingTimeout: null, // 会在 player.vue 卸载时清除 | |
}; | |
// 自定义上报,可选携带附加数据 | |
function remoteLog(msg, level = 'info', extra = {}) { | |
Sentry.withScope(scope => { |
/** | |
* 设置指定元素全屏 | |
* @param {dom} ele | |
*/ | |
function fullScreen(ele) { | |
const el = ele || document.documentElement; | |
const rfs = | |
el.requestFullscreen || | |
el.webkitRequestFullScreen || | |
el.mozRequestFullScreen || |
diff --git a/Counter.js b/Counter.js | |
index 04222ed..ca97297 100644 | |
--- a/Counter.js | |
+++ b/Counter.js | |
@@ -1,8 +1,12 @@ | |
/*eslint-disable no-unused-vars */ | |
import React, { Component, PropTypes } from 'react' | |
-const Counter = ({ value, onIncrement, onDecrement }) => | |
+const Counter = ({ value, onIncrement, onDecrement, onIncrementAsync }) => |
diff --git a/package.json b/package.json | |
index 4e034db..94609b4 100644 | |
--- a/package.json | |
+++ b/package.json | |
@@ -41,6 +41,7 @@ | |
"supertest": "^2.0.1" | |
}, | |
"scripts": { | |
+ "start": "PORT=8099 node server", | |
"lint": "eslint .", |
I hereby claim:
To claim this, I am signing this object: