From 06b65c74d63a5f9164aa5e65aa6b36cd985d7b34 Mon Sep 17 00:00:00 2001 From: Vishesh Date: Thu, 17 Oct 2019 20:40:55 -0400 Subject: [PATCH] PR updates --- README.md | 2 +- build/{testFiles => testFile}/Example-archive.zip | Bin examples/index.js | 5 ++--- 3 files changed, 3 insertions(+), 4 deletions(-) rename build/{testFiles => testFile}/Example-archive.zip (100%) diff --git a/README.md b/README.md index a5f9c640..605a3fbd 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ $ yarn add villain-react ## Development -- Run `yarn install` in the console +- Run `yarn` in the console - An example archive has been provided to play around with in `/build/testFiles`. - To replace it with another file, in `/examples/index.js` modify the path of `testFile2` to equal `'/build/testFile/newFilename.extension'`. - A good resource for archives can be found here: https://archive.org/details/comics. Alternative, any compressed folder (zip, rar, tar, etc) with a few images will also do the job. diff --git a/build/testFiles/Example-archive.zip b/build/testFile/Example-archive.zip similarity index 100% rename from build/testFiles/Example-archive.zip rename to build/testFile/Example-archive.zip diff --git a/examples/index.js b/examples/index.js index b55a6951..13377edf 100644 --- a/examples/index.js +++ b/examples/index.js @@ -10,13 +10,12 @@ const villainOpts = { allowFullScreen: false, } -const testFile = '/build/test_files/archive.cbz' -const testFile2 = '/build/testFiles/Example-archive.zip' +const testFile = '/build/testFile/Example-archive.zip' ReactDOM.render(

Test example!

- +
, document.getElementById('app') )