Skip to content

Commit

Permalink
Removes console.log's from script - fixes #68
Browse files Browse the repository at this point in the history
  • Loading branch information
Zettersten authored Nov 17, 2021
1 parent d3405b6 commit fbcd5d5
Showing 1 changed file with 0 additions and 6 deletions.
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 fbcd5d5

Please sign in to comment.