Explicitly expose window.scaffolding

This commit is contained in:
Thomas Weber committed 2021-08-01 01:45:54 -05:00
1 parent e5bf9b6b90
commit 11ea10fabd
1 file changed
+1
+1
View File
@@ -568,6 +568,7 @@ cd "$(dirname "$0")"
if (typeof ScaffoldingAddons !== "undefined") ScaffoldingAddons.run(scaffolding);
// Expose values expected by third-party plugins
window.scaffolding = scaffolding;
window.vm = scaffolding.vm;
const {storage, vm} = scaffolding;