diff --git a/README.md b/README.md index 0a2abe4..a30dd9b 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Use NPM to get the `gl-matrix` dependency: npm install gl-matrix ``` -After the installation completes, copy `gl-matrix.js` from `node_modules/gl-matrix-dist` into the repo's `/build` folder. *(N.B. `canvaskit` is downloaded with this repo, and already present in the `/build` folder.)* +After the installation completes, copy `gl-matrix.js` from `node_modules/gl-matrix/dist` into the repo's `/build` folder. *(N.B. `canvaskit` is downloaded with this repo, and already present in the `/build` folder.)* At this point run a webpack build: ``` diff --git a/example/example.js b/example/example.js index 3ff18fc..f7bde82 100644 --- a/example/example.js +++ b/example/example.js @@ -17,7 +17,7 @@ const FlareExample = (function () { /** Build and initialize the Graphics object. */ this._Graphics = new Flare.Graphics(canvas); - this._Graphics.initialize("../build/", () => + this._Graphics.initialize(() => { this._LastAdvanceTime = Date.now(); this._ViewTransform = mat2d.create(); @@ -57,7 +57,7 @@ const FlareExample = (function () }); /** Call-back. */ ready(); - }); + }, "../build/"); } /**