mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-13 11:49:06 +02:00
demo: serviceworker: nodejs
This commit is contained in:
parent
4c991bb050
commit
471de6cfc8
@ -61,7 +61,7 @@
|
|||||||
</SyntaxOptions>
|
</SyntaxOptions>
|
||||||
</Parsing>
|
</Parsing>
|
||||||
<CodeGeneration>
|
<CodeGeneration>
|
||||||
<TargetOS Value="browser"/>
|
<TargetOS Value="nodejs"/>
|
||||||
</CodeGeneration>
|
</CodeGeneration>
|
||||||
<Linking>
|
<Linking>
|
||||||
<Debugging>
|
<Debugging>
|
||||||
|
@ -3,10 +3,10 @@ program ServiceWorker;
|
|||||||
{$mode objfpc}
|
{$mode objfpc}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, ServiceWorkerApp;
|
SysUtils, Classes, ServiceWorkerApp;
|
||||||
|
|
||||||
const
|
const
|
||||||
YourCacheName = 'v6'; // usually increased with every version
|
YourCacheName = 'v7'; // usually increased with every version
|
||||||
// The cache is specific to your domain, so no need to include your app name.
|
// The cache is specific to your domain, so no need to include your app name.
|
||||||
|
|
||||||
type
|
type
|
||||||
|
Loading…
Reference in New Issue
Block a user