pragmatic-pbr icon indicating copy to clipboard operation
pragmatic-pbr copied to clipboard

Running 201-init for the first time

Open phtaylor opened this issue 9 years ago • 0 comments

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

phtaylor avatar May 26 '16 14:05 phtaylor