Browse Source

docs: contrib guide

Sven 10 months ago
parent
commit
4d4ea7f81d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      contributing.md

+ 1 - 0
contributing.md

@@ -1378,6 +1378,7 @@ Functions marked with 🔒 need to be passed a per-session and per-plugin authen
 > 
 > async function exportData() {
 >   // compress the data to save space
+>   // note that this requires the `@grant unsafeWindow` directive in the metadata block!
 >   const exportData = JSON.stringify({ foo: "bar" });
 >   return await unsafeWindow.BYTM.UserUtils.compress(exportData, "deflate");
 > }