genoverse 4.0.0-beta1 → 4.0.0
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 +2 -4
- package/dist/genoverse.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -29,15 +29,13 @@ Embed Genoverse using
|
|
|
29
29
|
Add a script tag or JavaScript file which initializes Genoverse, e.g.
|
|
30
30
|
```html
|
|
31
31
|
<script>
|
|
32
|
-
|
|
33
|
-
const genoverse = new Genoverse({ ... configuration ... });
|
|
34
|
-
});
|
|
32
|
+
const genoverse = new Genoverse({ ... configuration ... });
|
|
35
33
|
</script>
|
|
36
34
|
```
|
|
37
35
|
|
|
38
36
|
Once initalized, the instance of Genoverse is avaliable as a jQuery data attribute on the container DOM element, and can be accessed by
|
|
39
37
|
```javascript
|
|
40
|
-
const genoverse =
|
|
38
|
+
const genoverse = Genoverse.jQuery(container).data('genoverse');
|
|
41
39
|
```
|
|
42
40
|
|
|
43
41
|
### Build options
|