diff --git a/packages/behavior/src/resources/script.js b/packages/behavior/src/resources/script.js index 0226132..49c0a7a 100644 --- a/packages/behavior/src/resources/script.js +++ b/packages/behavior/src/resources/script.js @@ -42,7 +42,11 @@ export default (latus) => { } static createContext(locals = {}) { + if (locals.__populated) { + return locals; + } return { + __populated: true, ...latus.get('%behaviorGlobals'), ...locals, };