[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>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(WASM)' == 'true'">
|
|
||||||
<RuntimeIdentifier>browser-wasm</RuntimeIdentifier>
|
|
||||||
<PublishTrimmed>true</PublishTrimmed>
|
|
||||||
<RunAOTCompilation>true</RunAOTCompilation>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="SearchQuery.fs"/>
|
<Compile Include="SearchQuery.fs"/>
|
||||||
<Compile Include="Mfm.fs" />
|
<Compile Include="Mfm.fs" />
|
||||||
|
|
|
@ -2,7 +2,6 @@ namespace Iceshrimp.Parsing
|
||||||
|
|
||||||
open System
|
open System
|
||||||
open System.Collections.Generic
|
open System.Collections.Generic
|
||||||
open System.Runtime.InteropServices.JavaScript
|
|
||||||
open FParsec
|
open FParsec
|
||||||
|
|
||||||
module MfmNodeTypes =
|
module MfmNodeTypes =
|
||||||
|
@ -330,7 +329,6 @@ module private MfmParser =
|
||||||
open MfmParser
|
open MfmParser
|
||||||
|
|
||||||
module Mfm =
|
module Mfm =
|
||||||
[<JSExport>]
|
|
||||||
let parse str =
|
let parse str =
|
||||||
match run parse str with
|
match run parse str with
|
||||||
| Success(result, _, _) -> aggregateText result
|
| Success(result, _, _) -> aggregateText result
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
namespace Iceshrimp.Parsing
|
namespace Iceshrimp.Parsing
|
||||||
|
|
||||||
open System
|
open System
|
||||||
open System.Runtime.InteropServices.JavaScript
|
|
||||||
open FParsec
|
open FParsec
|
||||||
|
|
||||||
module SearchQueryFilters =
|
module SearchQueryFilters =
|
||||||
|
@ -248,7 +247,6 @@ module private SearchQueryParser =
|
||||||
module SearchQuery =
|
module SearchQuery =
|
||||||
open SearchQueryParser
|
open SearchQueryParser
|
||||||
|
|
||||||
[<JSExport>]
|
|
||||||
let parse str =
|
let parse str =
|
||||||
match run parse str with
|
match run parse str with
|
||||||
| Success(result, _, _) -> result
|
| Success(result, _, _) -> result
|
||||||
|
|
Loading…
Add table
Reference in a new issue