From 247015fabb8ffba14e9ba99742b21bf0250433d9 Mon Sep 17 00:00:00 2001 From: Steve Sanderson Date: Wed, 10 Jan 2018 12:36:37 +0000 Subject: [PATCH] Move interop-related TS code into its own directory --- .../src/GlobalExports.ts | 2 +- .../{ => Interop}/InternalRegisteredFunction.ts | 4 ++-- .../src/Interop/InvokeWithJsonMarshalling.ts | 16 ++++++++++++++++ .../src/{ => Interop}/RegisteredFunction.ts | 17 +---------------- .../src/Platform/Mono/MonoPlatform.ts | 2 +- 5 files changed, 21 insertions(+), 20 deletions(-) rename src/Microsoft.Blazor.Browser.JS/src/{ => Interop}/InternalRegisteredFunction.ts (64%) create mode 100644 src/Microsoft.Blazor.Browser.JS/src/Interop/InvokeWithJsonMarshalling.ts rename src/Microsoft.Blazor.Browser.JS/src/{ => Interop}/RegisteredFunction.ts (56%) diff --git a/src/Microsoft.Blazor.Browser.JS/src/GlobalExports.ts b/src/Microsoft.Blazor.Browser.JS/src/GlobalExports.ts index 2f49ae5e06..c25ac06b4d 100644 --- a/src/Microsoft.Blazor.Browser.JS/src/GlobalExports.ts +++ b/src/Microsoft.Blazor.Browser.JS/src/GlobalExports.ts @@ -1,5 +1,5 @@ import { platform } from './Environment' -import { registerFunction } from './RegisteredFunction'; +import { registerFunction } from './Interop/RegisteredFunction'; if (typeof window !== 'undefined') { // When the library is loaded in a browser via a