From e4076a437d8d3ae802690d1e140295b2a837f703 Mon Sep 17 00:00:00 2001 From: Gwon Seonggwang Date: Mon, 21 Oct 2019 19:23:14 +0900 Subject: [PATCH 1/2] Fix a wrong module path in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: ``` From 9fa0c2eea688375a51b1da8ed8f462a33adea999 Mon Sep 17 00:00:00 2001 From: Gwon Seonggwang Date: Mon, 21 Oct 2019 19:24:15 +0900 Subject: [PATCH 2/2] Fix a broken example --- example/example.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/"); } /**