summaryrefslogtreecommitdiff
path: root/Miso/FFI/Document.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Miso/FFI/Document.hs')
-rw-r--r--Miso/FFI/Document.hs12
1 files changed, 0 insertions, 12 deletions
diff --git a/Miso/FFI/Document.hs b/Miso/FFI/Document.hs
deleted file mode 100644
index b4fe44f..0000000
--- a/Miso/FFI/Document.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE NoImplicitPrelude #-}
-
-module Miso.FFI.Document where
-
-import GHCJS.Types
-import Protolude
-
-foreign import javascript unsafe "$r = document.getElementById($1);"
- getElementById :: JSString -> IO JSVal
-
-foreign import javascript unsafe "$r = document.querySelector($1);"
- querySelector :: JSString -> IO JSVal