mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* Reorganize crates * Remove symlink * Check examples * Cleanup CI scripts * nits * cleanup * cargo fmt * Fix yew-stdweb * cargo clippy --all * stdweb-examples * run_emscripten_checks.sh * Fix typo * fix typo * yew-stdweb * Run tests from yew-stdweb * fix webgl script
10 lines
172 B
JavaScript
10 lines
172 B
JavaScript
function get_payload() {
|
|
return (new Date()).toString()
|
|
}
|
|
|
|
function get_payload_later(callback) {
|
|
setTimeout(() => {
|
|
callback(get_payload())
|
|
}, 1000)
|
|
}
|