Skip to content

Commit 6756170

Browse files
committed
Variable name cleanup
1 parent 2afbd46 commit 6756170

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Components/Web.JS/src/Boot.Web.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ import { attachStreamingRenderingListener } from './Rendering/StreamingRendering
1717
import { WebAssemblyComponentDescriptor } from './Services/ComponentDescriptorDiscovery';
1818
import { ServerComponentDescriptor, discoverComponents } from './Services/ComponentDescriptorDiscovery';
1919

20-
let booted = false;
20+
let started = false;
2121

2222
async function boot(options?: Partial<WebStartOptions>): Promise<void> {
23-
if (booted) {
23+
if (started) {
2424
throw new Error('Blazor has already started.');
2525
}
26-
booted = true;
26+
started = true;
2727
await activateInteractiveComponents(options);
2828

2929
attachStreamingRenderingListener();

src/JSInterop/Microsoft.JSInterop.JS/src/src/Microsoft.JSInterop.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,9 +667,9 @@ export module DotNet {
667667
}
668668

669669
let nextByteArrayIndex = 0;
670-
function stringifyArgs(jsCallDispatcher: CallDispatcher, args: any[] | null) {
670+
function stringifyArgs(callDispatcher: CallDispatcher, args: any[] | null) {
671671
nextByteArrayIndex = 0;
672-
currentCallDispatcher = jsCallDispatcher;
672+
currentCallDispatcher = callDispatcher;
673673
const result = JSON.stringify(args, argReplacer);
674674
currentCallDispatcher = undefined;
675675
return result;

0 commit comments

Comments
 (0)