mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 22:40:01 -04:00
kill snapshot.ts (untested)
This commit is contained in:
parent
9a39435c7d
commit
7f398cda17
7 changed files with 33 additions and 18 deletions
|
@ -1,6 +1,9 @@
|
|||
import { ScramjetClient } from "../client";
|
||||
import { config, encodeUrl } from "../shared";
|
||||
|
||||
export default function (client, self) {
|
||||
export default function (client: ScramjetClient, self: Self) {
|
||||
const Function = client.natives.Function;
|
||||
|
||||
self[config.importfn] = function (base: string) {
|
||||
return function (url: string) {
|
||||
const resolved = new URL(url, base).href;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue