This commit is contained in:
2019-08-23 00:12:49 +02:00
committed by GitHub
parent c30e9f27a5
commit fd3a2bc24f
94 changed files with 13855 additions and 9269 deletions

View File

@@ -0,0 +1,9 @@
export const createContext = ({
logProvider,
}, baseContext = {}) => ({
log: (...args) => logProvider.log(...args),
clear: logProvider.clear,
window: baseContext,
global: baseContext,
context: baseContext,
});