switch(currentMode) { case 'None': render = ( @@ -100,13 +99,13 @@ function Footer() { } return render; } }; const JSX_Top = () => { let key_mode = Links.Query["mode"].title; const key_mode = Links.Query["mode"].title; let render:JSX.Element = null!; let currentM...
api.SwitchCaseResponseType<E, P>> { if (endpoint.includes('://')) throw new Error('invalid endpoint'); pendingApiRequestsCount.value++; Expand Down Expand Up @@ -51,7 +56,12 @@ export function api<E extends keyof Misskey.Endpoints, P extends Misskey.Endpoin return promise; } export ...
exportdefaultasyncfunctionhandler(req,res){constmethod=req.method;const{id}=req.queryswitch(method){case"GET":res.status(200).json({res:id})breakcase"POST":res.status(200).json({res:id})breakdefault:res.status(200).json({res:id})break}} と書かないと、switch 文から抜けずに、複数のsw...
{return; }switch(level) {caseLogLevel.Error:console.error(message);return;caseLogLevel.Info:console.info(message);return;caseLogLevel.Verbose:console.debug(message);return;caseLogLevel.Warning:console.warn(message);return; } },piiLoggingEnabled:false, },windowHashTimeout:60000,iframeHashTimeout:...
(level, message, containsPii) => {if(containsPii) {return; }switch(level) {casemsal.LogLevel.Error: console.error(message);return;casemsal.LogLevel.Info: console.info(message);return;casemsal.LogLevel.Verbose: console.debug(message);return;casemsal.LogLevel.Warni...
Google による説明記事です。サーバーサイドレンダリング、静的レンダリング (SSG)、クライアントサイドレンダリングに関して、基本的な定義から説明されています。 Static Tweet Next.js Demo Vercel による SSG のデモです。https://static-tweet.now.sh/1321470235703083009などと、ツイートの ...
( nisSchema.1.32 NAME 'automountKey' DESC 'Automount Key value' EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) ( nisSchema.1.33 NAME 'automountInformation' DESC 'Automount information' EQUALITY caseExactIA5Match SUBSTR caseExactIA5...
# Sun Cluster Data Services Builder template version 1.0 # Registration information and resources for smpl # #NOTE: Keywords are case insensitive, i.e., you can use #any capitalization style you prefer. # Resource_type = "smpl"; Vendor_id = SUNW; RT_description = "Sample Service on Sun...
(context) => {constcurrentValue = context.df.getState(()=>0);switch(context.df.operationName) {case'add':constamount = context.df.getInput(); context.df.setState(currentValue + amount);break;case'reset': context.df.setState(0);break;case'g...
(target)stop=top(element)break}// resolve scroll distance, accounting for offsetdistance=stop-start+offset// resolve durationswitch(typeofoptions.duration){// number in mscase'number':duration=options.durationbreak// function passed the distance of the scrollcase'function':duration=options.duration(...