[backend/parsing] Remove JS interop
This commit is contained in:
parent
cd274f22e5
commit
fb0b58b851
3 changed files with 0 additions and 10 deletions
|
@ -5,12 +5,6 @@
|
|||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(WASM)' == 'true'">
|
||||
<RuntimeIdentifier>browser-wasm</RuntimeIdentifier>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<RunAOTCompilation>true</RunAOTCompilation>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="SearchQuery.fs"/>
|
||||
<Compile Include="Mfm.fs" />
|
||||
|
|
|
@ -2,7 +2,6 @@ namespace Iceshrimp.Parsing
|
|||
|
||||
open System
|
||||
open System.Collections.Generic
|
||||
open System.Runtime.InteropServices.JavaScript
|
||||
open FParsec
|
||||
|
||||
module MfmNodeTypes =
|
||||
|
@ -330,7 +329,6 @@ module private MfmParser =
|
|||
open MfmParser
|
||||
|
||||
module Mfm =
|
||||
[<JSExport>]
|
||||
let parse str =
|
||||
match run parse str with
|
||||
| Success(result, _, _) -> aggregateText result
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
namespace Iceshrimp.Parsing
|
||||
|
||||
open System
|
||||
open System.Runtime.InteropServices.JavaScript
|
||||
open FParsec
|
||||
|
||||
module SearchQueryFilters =
|
||||
|
@ -248,7 +247,6 @@ module private SearchQueryParser =
|
|||
module SearchQuery =
|
||||
open SearchQueryParser
|
||||
|
||||
[<JSExport>]
|
||||
let parse str =
|
||||
match run parse str with
|
||||
| Success(result, _, _) -> result
|
||||
|
|
Loading…
Add table
Reference in a new issue