mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
return real window.parent
This commit is contained in:
parent
396170e4ea
commit
b0f5166916
4 changed files with 62 additions and 38 deletions
|
@ -1,7 +1,8 @@
|
|||
import { encodeUrl } from "../shared";
|
||||
import { importfn } from "./wrap";
|
||||
|
||||
export default function (client, self) {
|
||||
self.$sImport = function (base) {
|
||||
self[importfn] = function (base) {
|
||||
return function (url) {
|
||||
const resolved = new URL(url, base).href;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue