domma-js 0.7.5-alpha → 0.7.6-alpha

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "domma-js",
3
- "version": "0.7.5-alpha",
3
+ "version": "0.7.6-alpha",
4
4
  "description": "Dynamic Object Manipulation & Modeling API - A complete front-end toolkit.",
5
5
  "main": "public/dist/domma.min.js",
6
6
  "module": "public/dist/domma.esm.js",
@@ -6,71 +6,69 @@
6
6
  },
7
7
  "theme": {
8
8
  "default": "{{theme}}",
9
- "selector": {{
10
- includeThemeSelector
11
- }},
12
- "persist": true,
13
- "autoDetect": false
14
- },
15
- "navbar": {
16
- "brand": {
17
- "text": "{{projectName}}",
18
- "logo": "assets/logo/placeholder.svg",
19
- "url": "/"
20
- },
21
- "items": [
22
- {
23
- "text": "Home",
24
- "url": "/",
25
- "active": true
26
- },
27
- {
28
- "text": "About",
29
- "url": "/about/"
30
- },
31
- {
32
- "text": "Contact",
33
- "url": "/contact/"
34
- },
35
- {
36
- "text": "Blog",
37
- "url": "/blog/"
38
- },
39
- {
40
- "text": "Docs",
41
- "url": "/docs/"
42
- },
43
- {
44
- "text": "QuickStart",
45
- "url": "https://github.com/dcbw-it/domma#quick-start-with-cli-recommended",
46
- "badge": "New"
47
- }
48
- ],
49
- "variant": "dark",
50
- "position": "sticky",
51
- "collapsible": true
52
- },
53
- "footer": {
54
- "copyright": "© {{year}} {{projectName}}. All rights reserved.",
55
- "links": [
56
- {
57
- "text": "Privacy Policy",
58
- "url": "#privacy"
59
- },
60
- {
61
- "text": "Terms of Service",
62
- "url": "#terms"
63
- },
64
- {
65
- "text": "Contact Us",
66
- "url": "/contact/"
67
- }
68
- ]
69
- },
70
- "features": {
71
- "icons": true,
72
- "backToTop": true,
73
- "codeCopy": true,
74
- "smoothScroll": true
75
- }
9
+ "selector": "{{includeThemeSelector}}",
10
+ "persist": true,
11
+ "autoDetect": false
12
+ },
13
+ "navbar": {
14
+ "brand": {
15
+ "text": "{{projectName}}",
16
+ "logo": "assets/logo/placeholder.svg",
17
+ "url": "/"
18
+ },
19
+ "items": [
20
+ {
21
+ "text": "Home",
22
+ "url": "/",
23
+ "active": true
24
+ },
25
+ {
26
+ "text": "About",
27
+ "url": "/about/"
28
+ },
29
+ {
30
+ "text": "Contact",
31
+ "url": "/contact/"
32
+ },
33
+ {
34
+ "text": "Blog",
35
+ "url": "/blog/"
36
+ },
37
+ {
38
+ "text": "Docs",
39
+ "url": "/docs/"
40
+ },
41
+ {
42
+ "text": "QuickStart",
43
+ "url": "https://github.com/dcbw-it/domma#quick-start-with-cli-recommended",
44
+ "badge": "New"
45
+ }
46
+ ],
47
+ "variant": "dark",
48
+ "position": "sticky",
49
+ "collapsible": true
50
+ },
51
+ "footer": {
52
+ "copyright": "© {{year}} {{projectName}}. All rights reserved.",
53
+ "links": [
54
+ {
55
+ "text": "Privacy Policy",
56
+ "url": "#privacy"
57
+ },
58
+ {
59
+ "text": "Terms of Service",
60
+ "url": "#terms"
61
+ },
62
+ {
63
+ "text": "Contact Us",
64
+ "url": "/contact/"
65
+ }
66
+ ]
67
+ },
68
+ "features": {
69
+ "icons": true,
70
+ "backToTop": true,
71
+ "codeCopy": true,
72
+ "smoothScroll": true
73
+ }
76
74
  }
@@ -7,7 +7,7 @@
7
7
 
8
8
  $(() => {
9
9
  // Load configuration
10
- Domma.http.get('./domma.config.json').then(config => {
10
+ Domma.http.get('/domma.config.json').then(config => {
11
11
  // Initialise theme
12
12
  if (config.theme) {
13
13
  Domma.theme.init({