Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
EdCharbeneau committed Dec 1, 2021
2 parents 9e50941 + 5e9ba08 commit 9f05d1f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion BlazorSize/BlazorPro.BlazorSize.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
<Content Include="*.ts">
<Pack>False</Pack>
</Content>
<PackageReference Include="bunit.core" Version="1.3.42" />
<Content Update="*.json">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
<Pack>False</Pack>
Expand Down
6 changes: 0 additions & 6 deletions BlazorSize/scripts/BlazorSizeMediaModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ let instance = new BlazorSizeMedia();

// When MQL is created, it tracks a NET Ref
export function addMediaQueryList(dotnet: any) {
console.log(`addMediaQueryList dotnet:`);
console.log(dotnet);
instance.addMediaQueryList(dotnet);
}

Expand All @@ -16,15 +14,11 @@ export function removeMediaQueryList(dotnetMql: any) {

// When MediaQuery instance is created track media query in JavaScript
export function addMediaQueryToList(dotnetMql: any, mediaQuery: string) {
console.log(`addMediaQueryToList dotnet:`);
console.log(dotnetMql);
return instance.addMediaQueryToList(dotnetMql, mediaQuery);
}

// When MediaQuery instance is disposed remove media query in JavaScript
export function removeMediaQuery(dotnetMql: any, mediaQuery: string) {
console.log(`removeMediaQuery dotnet`);
console.log(dotnetMql);
instance.removeMediaQuery(dotnetMql, mediaQuery);
}

Expand Down

0 comments on commit 9f05d1f

Please sign in to comment.