This file contains 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
{ | |
"version": "v1.0.0", | |
"notes": "Added Facebook like button", | |
"pub_date": "2022-06-30T19:25:57Z", | |
"platforms": { | |
"darwin-x86_64": { | |
"signature": "", | |
"url": "https://github.com/lemarier/tauri-test/releases/download/v1.0.0/app.app.tar.gz" | |
}, | |
"darwin-aarch64": { |
This file contains 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
/** | |
* Long timeouts that remain accuracy. | |
*/ | |
// When the final system adjusted timer kicks in | |
var FINAL_COUNTDOWN = 2000; | |
var accurate = {}; | |
accurate.setTimeout = function(fn, t) { |
This file contains 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
/* Author: Didrik Nordström, [email protected] */ | |
/** | |
* Schedule a function for execution multiple times at a specific interval. | |
* Uses setTimeout so remember to not use it for high precision timing over | |
* long durations. | |
* | |
* @param timeout Duration in ms from now to first call | |
* @param count Number of calls | |
* @param interval Duration in ms between calls |
This file contains 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
/* Author: Didrik Nordström, [email protected] */ | |
/* Specifically for http://stackoverflow.com/questions/6312993 */ | |
/** | |
* Format a duration in seconds to a human readable format using the notion | |
* "h+:mm:ss", e.g. "4:40:78". Negative durations are preceeded by "-". | |
* | |
* @param t Duration in seconds | |
* @return The formatted duration string | |
*/ |
This file contains 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
/* Author: Didrik Nordström, [email protected] */ | |
/** | |
* Format a duration in milliseconds to a human readable format, e.g. | |
* "4y 2d 3h 10m 10s 255ms". Negative durations are formatted like "- 8h 30s". | |
* Granularity is always ms. | |
* | |
* @param t Duration in milliseconds | |
* @return A formatted string containing the duration or "" if t=0 | |
*/ |
This file contains 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
{"_id":"roiPdtw0L","name":"foobar [B05]","exp":0,"level":1,"str":15,"int":10,"wis":10,"dex":15,"con":10,"map":"Bad feeling ruins","inventory":["rkioAy30R","rJDDRYWVa","rSJgwxSYD"],"x":17,"y":11,"hp":10,"ac":10,"alloc":0,"speed":2,"light":3,"wieldedweapon":null,"equippedarmor":null,"type":"character","hates":["*"],"attack":{"type":"normal","damage":[1,2]},"teamabbrev":"B05","teamid":"rtr7fpp_h","maxhp":10,"resource":"dungeonthing"} |