summaryrefslogtreecommitdiff
path: root/deno_dir.go
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-21 17:33:33 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-21 17:33:33 -0400
commit8e2e17cdbe02847b19d8bc2002ba713d18e291b9 (patch)
tree4e6cb105f4ca8857d28e5473894bf53dceeff3cc /deno_dir.go
parentaf6076f3c6008d3aacb69ae3eca8db2eb3f00de9 (diff)
Support source maps for internal code.
Diffstat (limited to 'deno_dir.go')
-rw-r--r--deno_dir.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/deno_dir.go b/deno_dir.go
index b3a8c78b9..185f7abe0 100644
--- a/deno_dir.go
+++ b/deno_dir.go
@@ -3,7 +3,6 @@ package main
import (
"crypto/md5"
"encoding/hex"
- "github.com/ry/v8worker2"
"io"
"io/ioutil"
"net/http"
@@ -84,13 +83,6 @@ func UserHomeDir() string {
return os.Getenv("HOME")
}
-func loadAsset(w *v8worker2.Worker, path string) {
- data, err := Asset(path)
- check(err)
- err = w.Load(path, string(data))
- check(err)
-}
-
func createDirs() {
DenoDir = path.Join(UserHomeDir(), ".deno")
CompileDir = path.Join(DenoDir, "compile")