We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4695211 commit 4abf913Copy full SHA for 4abf913
1 file changed
search/search.js
@@ -1,15 +1,8 @@
1
let fpdb = {
2
api: 'https://db-api.unstable.life',
3
images: 'https://infinity.unstable.life/images',
4
- platforms: [],
5
- sortOptions: [],
6
- list: [],
7
- pages: 0,
8
- currentPage: 1,
9
resultsPerPage: 100,
10
- displayedResults: 0,
11
thumbnailLimit: 1000,
12
- lastScrollPos: 0,
13
metaMap: {
14
title: "Title",
15
alternateTitles: "Alternate Titles",
@@ -38,7 +31,15 @@ let fpdb = {
38
31
applicationPath: "Application Path",
39
32
launchCommand: "Launch Command",
40
33
id: "ID"
41
- }
34
+ },
35
+
36
+ platforms: [],
37
+ sortOptions: [],
+ list: [],
+ pages: 0,
+ currentPage: 1,
+ displayedResults: 0,
42
+ lastScrollPos: 0
43
};
44
45
fetch(fpdb.api + '/platforms').then(r => r.json()).then(json => { fpdb.platforms = json; });
0 commit comments