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
<div><iframe src=pub.html></iframe></div> | |
<div><iframe src=pub.html></iframe></div> |
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
<style> | |
.z{ | |
float:right; | |
font-size:.001px; | |
color:transparent; | |
display:inline-block; | |
width:0px; | |
} | |
</style> | |
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
/** | |
<script src="https://unpkg.com/patchinko/overloaded.js"></script> | |
<script src="https://unpkg.com/mithril-stream"></script> | |
<script src="https://unpkg.com/react/umd/react.development.js"></script> | |
<script src="https://unpkg.com/react-dom/umd/react-dom.development.js"></script> | |
<div id=APP></div> | |
<script src="index.js"></script> | |
*/ |
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
// honeypack: middleware.js | |
// LINE 69 | |
middleware.waitUntilValid(stats=>{ | |
app.emit('webpack.valid', stats) | |
}) | |
// app.js | |
const Honeybee = require('hc-bee'); | |
const app = new Honeybee(); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
function arrayKV (obj, k, v, reverse, unique) { | |
let prevVal = _.get(obj, k) | |
if(!Array.isArray(prevVal)) { | |
prevVal = prevVal === undefined ? [] : [prevVal] | |
_.set(obj, k, prevVal) | |
} | |
if (unique && prevVal.indexOf(v) > -1) return | |
return reverse ? prevVal.unshift(v) : prevVal.push(v) | |
} |
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
// This sample is a Work in Progress for JSI , and specific functions may change. | |
#pragma once | |
#include <string> | |
#include <unordered_map> | |
#include <jsi/jsi.h> | |
// This SameplJSIObject needs to inheric from HostObject, and this is the object that will be exposed to JS. |
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
rustup component add rust-src | |
export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src" |