Skip to content

Commit

Permalink
Merge pull request #13 from alexpantyukhin/add_html
Browse files Browse the repository at this point in the history
add init html
  • Loading branch information
dbrattli authored Oct 26, 2021
2 parents 2bdbb66 + e0d2f35 commit 52736dc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Fable.Python.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<Compile Include="stdlib/Ast.fs" />
<Compile Include="stdlib/Builtins.fs" />
<Compile Include="stdlib/Json.fs" />
<Compile Include="stdlib/Html.fs" />
<Compile Include="stdlib/Math.fs" />
<Compile Include="stdlib/Os.fs" />
<Compile Include="stdlib/Queue.fs" />
Expand Down
14 changes: 14 additions & 0 deletions src/stdlib/Html.fs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module Fable.Python.Html

open Fable.Core

// fsharplint:disable MemberNames

type IExports =
abstract escape : string -> string
abstract escape : string * bool -> string
abstract unescape : string -> string

/// Miscellaneous operating system interfaces
[<ImportAll("html")>]
let html: IExports = nativeOnly

0 comments on commit 52736dc

Please sign in to comment.