5
5
<br ><br >
6
6
<strong >Drag and drop website builder javascript library.</strong >
7
7
<br >
8
- <span >Built with jQuery and Bootstrap 5. </span >
8
+ <span >Built with Vanilla Js with no dependencies and Bootstrap 5</span >
9
9
</p >
10
10
<p align =" center " >
11
11
<a href =" https://www.vvveb.com " >Website</a > |
@@ -160,10 +160,6 @@ npm run gulp screenshots
160
160
161
161
162
162
``` js
163
- <!-- jquery-->
164
- < script src= " js/jquery.min.js" >< / script>
165
- < script src= " js/jquery.hotkeys.js" >< / script>
166
-
167
163
<!-- bootstrap-->
168
164
< script src= " js/popper.min.js" >< / script>
169
165
< script src= " js/bootstrap.min.js" >< / script>
@@ -189,27 +185,22 @@ let pages = [
189
185
{name: " landing-page" , title: " Landing page" , url: " demo/landing/index.html" , file: " demo/landing/index.html" },
190
186
];
191
187
192
- $ (function () {
193
-
194
- let firstPage = Object .keys (pages)[0 ];
195
- Vvveb .Builder .init (pages[firstPage][" url" ], function () {
196
- // load code after page is loaded here
197
- });
198
188
199
- Vvveb .Gui .init ();
200
- Vvveb .FileManager .init ();
201
- Vvveb .SectionList .init ();
202
- Vvveb .Breadcrumb .init ();
203
-
204
- Vvveb .FileManager .addPages (pages);
205
- Vvveb .FileManager .loadPage (pages[firstPage][" name" ]);
206
- Vvveb .Breadcrumb .init ();
207
-
208
- // if url has #no-right-panel set one panel demo
209
- if (window .location .hash .indexOf (" no-right-panel" ) != - 1 ) {
210
- Vvveb .Gui .toggleRightColumn ();
211
- }
189
+ let firstPage = Object .keys (pages)[0 ];
190
+ Vvveb .Builder .init (pages[firstPage][" url" ], function () {
191
+ // load code after page is loaded here
212
192
});
193
+
194
+ Vvveb .Gui .init ();
195
+ Vvveb .FileManager .init ();
196
+ Vvveb .SectionList .init ();
197
+ Vvveb .Breadcrumb .init ();
198
+
199
+ Vvveb .FileManager .addPages (pages);
200
+ Vvveb .FileManager .loadPage (pages[firstPage][" name" ]);
201
+ Vvveb .Gui .toggleRightColumn (false );
202
+ Vvveb .Breadcrumb .init ();
203
+
213
204
< script>
214
205
```
215
206
0 commit comments