Skip to content

Commit

Permalink
support VNote 3.0 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlok committed May 11, 2021
1 parent d439272 commit 438217b
Show file tree
Hide file tree
Showing 5 changed files with 490 additions and 486 deletions.
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/esm/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.min.js"></script>

<!--
Expand Down
966 changes: 483 additions & 483 deletions dist/js/viki.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
{
"text": "Notebook",
"target": "_vnote.json",
"target": "vx.json",
"navi": true
}
],
Expand Down
4 changes: 4 additions & 0 deletions js/navigationrenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ class NavigationRenderer {
let folders = p_jobj.sub_directories ? p_jobj.sub_directories : p_jobj.folders;
for (let i = 0; i < folders.length; ++i) {
let folder = folders[i];
if (folder.name === 'vx_recycle_bin') {
// Skip the recycle bin.
continue;
}

let folderItem = {
text: folder.name,
Expand Down
2 changes: 1 addition & 1 deletion viki.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/esm/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.min.js"></script>

<!--
Expand Down

0 comments on commit 438217b

Please sign in to comment.