@niivue/niivue 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -1
- package/dist/niivue.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ We host many NiiVue examples via github pages. These are updated and deployed au
|
|
|
34
34
|
|
|
35
35
|
## existing html page
|
|
36
36
|
```
|
|
37
|
-
<script src="https://unpkg.com/@niivue/niivue@0.10.
|
|
37
|
+
<script src="https://unpkg.com/@niivue/niivue@0.10.1/dist/niivue.js"></script>
|
|
38
38
|
|
|
39
39
|
<canvas id="gl" height=480 width=640></canvas>
|
|
40
40
|
|
|
@@ -297,4 +297,12 @@ You can edit a feature branch as many times as needed to fix broken tests in ord
|
|
|
297
297
|
|
|
298
298
|
The `main` branch is protected. This means that no one can commit to main directly. All edits must be merged in from forks or feature branches.
|
|
299
299
|
|
|
300
|
+
## Making colormap loader
|
|
301
|
+
|
|
302
|
+
```
|
|
303
|
+
cd src/cmaps
|
|
304
|
+
|
|
305
|
+
for f in ls *.json; do echo "export { default as `basename $f .json` } from './$f';" >> index.js; done;
|
|
306
|
+
```
|
|
307
|
+
|
|
300
308
|
|