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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: red; icon-glyph: gamepad; | |
const unpkg = (package, file, version) => { | |
return new Promise((callback) => { | |
const jsFile = file || package | |
const pkgVersion = version ? `@${version}` : '' | |
const fm = FileManager.iCloud() | |
const modulesPath = fm.joinPath(fm.documentsDirectory(), 'modules/') | |
const modulePath = fm.joinPath(modulesPath, `${package}${pkgVersion}/`) |
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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: green; icon-glyph: archive; | |
// unpkg: like NPM but not as good | |
// and available in Scriptable | |
// | |
// Examples: | |
// - const _ = await unpkg('lodash') | |
// - const CryptoJS = await unpkg('crypto-js') | |
// - const OAuth = await unpkg('oauth-1.0a') |
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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-blue; icon-glyph: theater-masks; | |
// Your reporting group number: | |
const GROUP_NUMBER = 69 | |
const PAGE = | |
'https://www.sfsuperiorcourt.org/divisions/jury-services/jury-reporting' | |
const REPORTING = 'REPORTING' |