File size: 298 Bytes
bee6636
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import { unrewriteUrl } from "../../shared/rewriters/url";
import { ScramjetClient } from "../client";

export default function (client: ScramjetClient, _self: Self) {
	client.Trap("PerformanceEntry.prototype.name", {
		get(ctx) {
			return unrewriteUrl(ctx.get() as string);
		},
	});
}