From f4221687cd8fa92f667f6633d43ec043e8d021f3 Mon Sep 17 00:00:00 2001 From: hackademix Date: Jan 09 2022 23:14:18 +0000 Subject: Fix toString() cloaking breaking FPD on some pages. --- diff --git a/common/code_builders.js b/common/code_builders.js index 43ba958..40c72a3 100644 --- a/common/code_builders.js +++ b/common/code_builders.js @@ -402,7 +402,7 @@ function wrap_code(level) { for (let accessor of ["set", "get"]) { if (typeof d[accessor] === "function") { let f = d[accessor]; - d[accessor] = exportFunction(d[accessor], obj, {}); + d[accessor] = exportFunction(d[accessor], obj, {defineAs: `${accessor} ${prop}`}); } } if (typeof d.value === "object") d.value = forPage(d.value); diff --git a/nscl b/nscl index b0b355d..a26eab9 160000 --- a/nscl +++ b/nscl @@ -1 +1 @@ -Subproject commit b0b355de528b11b8ae641b429f3442fe19bbff67 +Subproject commit a26eab9e7c5ebd865b6387db3bbd7c9f36abfa92