Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Bit of tidying up
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissainty committed Mar 27, 2021
1 parent f7ef8fb commit 9d5f033
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 48 deletions.
3 changes: 1 addition & 2 deletions Blazored.Typeahead.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ VisualStudioVersion = 16.0.28822.285
MinimumVisualStudioVersion = 15.0.26124.0
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Blazored.Typeahead", "src\Blazored.Typeahead\Blazored.Typeahead.csproj", "{35F86DB0-5B44-471B-BCDB-8108CAE6E22F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "samples", "{B3DF8680-26E4-4B3D-830C-C82818CDC305}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{B3DF8680-26E4-4B3D-830C-C82818CDC305}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorWebAssembly", "samples\BlazorWebAssembly\BlazorWebAssembly.csproj", "{02224AF2-F404-4E34-A47E-C0D64FFFE033}"
EndProject
Expand All @@ -15,7 +15,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sample.Shared", "samples\Sh
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8A0DDEA2-BB13-49E5-8A95-9142DB636664}"
ProjectSection(SolutionItems) = preProject
azure-pipelines.yml = azure-pipelines.yml
README.md = README.md
EndProjectSection
EndProject
Expand Down
36 changes: 0 additions & 36 deletions azure-pipelines.yml

This file was deleted.

11 changes: 1 addition & 10 deletions src/Blazored.Typeahead/BlazoredTypeahead.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Microsoft.JSInterop;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
Expand Down Expand Up @@ -133,11 +132,6 @@ protected override async Task OnAfterRenderAsync(bool firstRender)
}
}

protected override void OnParametersSet()
{
//Initialize();
}

private void Initialize()
{
SearchText = "";
Expand Down Expand Up @@ -242,8 +236,6 @@ private async Task HandleKeyUpOnMask(KeyboardEventArgs args)
}
private async Task HandleKeydown(KeyboardEventArgs args)
{

Console.WriteLine("key: " + args.Key);
if (args.Key == "Tab")
{
await ResetControl();
Expand Down Expand Up @@ -437,7 +429,6 @@ private async Task SelectResult(TItem item)

private async Task SelectNotFoundPlaceholder()
{
Debug.Assert(AddItemOnEmptyResultMethod != null);
try
{
// Potentially dangerous code
Expand Down Expand Up @@ -510,7 +501,7 @@ protected virtual void Dispose(bool disposing)

public async Task Focus()
{
await HandleClickOnMask(); // Interop.Focus(JSRuntime, _searchInput);
await HandleClickOnMask();
}
}
}

0 comments on commit 9d5f033

Please sign in to comment.