From 5df40e926e32e72c8a519f0f7014341e7c0f0bae Mon Sep 17 00:00:00 2001 From: The Wizard Bear <42446683+TheWizardBear@users.noreply.github.com> Date: Mon, 21 Sep 2020 08:44:27 +0100 Subject: [PATCH] updated version number to 0.2.1 --- README.md | 10 +++++----- createWidget.js | 4 ++-- egg.json | 9 ++++++--- examples/p5jsExample.js | 2 +- package.json | 2 +- 5 files changed, 15 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index b7599a6..18dd7fb 100644 --- a/README.md +++ b/README.md @@ -21,14 +21,14 @@ This module is heavily influenced by [Jamis Buck's Coffeescript mazes](https://g If you are inside a Javascript module file or a `type="module"` script tag, then add the following to the top of your code: ```javascript -import {Maze} from "https://x.nest.land/maze_generator@0.2.0/mod.js"; +import {Maze} from "https://x.nest.land/maze_generator@0.2.1/mod.js"; ``` If not, you can use the dynamic `import()` function. For example: ```javascript let Maze; -import("https://x.nest.land/maze_generator@0.2.0/mod.js") +import("https://x.nest.land/maze_generator@0.2.1/mod.js") .then(module => { Maze = module.Maze; }) @@ -37,7 +37,7 @@ import("https://x.nest.land/maze_generator@0.2.0/mod.js") }) ``` -You can also import the module from `deno.land/x` if you prefer: `https://deno.land/x/maze_generator@v0.2.0/mod.js`. +You can also import the module from `deno.land/x` if you prefer: `https://deno.land/x/maze_generator@v0.2.1/mod.js`. (Note the `v` here, which is not present when importing from `nest.land`.) ### In Node @@ -65,7 +65,7 @@ Please note that Node version 14+ is required as `maze_generator` makes use of s ## Example Usage ```javascript -import {Maze} from "https://x.nest.land/maze_generator@0.2.0/mod.js" +import {Maze} from "https://x.nest.land/maze_generator@0.2.1/mod.js" let mazeSettings = { width: 12, @@ -220,7 +220,7 @@ It takes in three properties, all optional. ```html