pragmatic-pbr
pragmatic-pbr copied to clipboard
Running 201-init for the first time
I had a few issues minor getting the first sample running.
Pes-context wasn't in the package.json file so I added it.
"pex-context": "variablestudio/pex-context",
and then 201-init\main.js did not include an 'init' function, so the loaded page would fail:
Window.js:304 Uncaught TypeError: window.init is not a function
Adding an empty init function to the object passed to Window.create solves the problem.
init: function() {
},
Thanks