Parcourir la source

docs: contrib guide

Sven il y a 10 mois
Parent
commit
4d4ea7f81d
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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");
 > }