Skrip konfigurasi objek statis JavaScript dan JSON untuk pengujian katalog game rp7.
{ } example.js{ } example.json
Salin kode
JavaScript
// Konfigurasi objek katalog lokal rp7
const rp7CatalogConfig = {
brand: "rp7" ,
environment: "local_test" ,
supportedPlatforms: ["android" ],
defaultGames: [
{ id: "075" , name: "Sct Cleopatra" , category: "Game" },
{ id: "014" , name: "Plushie Frenzy" , category: "Game" },
{ id: "156" , name: "Zombie Outbrk" , category: "Game" },
{ id: "028" , name: "Gem Saviour Sword" , category: "Game" },
{ id: "150" , name: "Gemstones Gold" , category: "Game" }
],
activeLocale: "id"
};
module.exports = rp7CatalogConfig; JSON
{
"brand" : "rp7" ,
"environment" : "local_test" ,
"supportedPlatforms" : ["android" ],
"defaultGames" : [
{ "id" : "075" , "name" : "Sct Cleopatra" , "category" : "Game" },
{ "id" : "014" , "name" : "Plushie Frenzy" , "category" : "Game" },
{ "id" : "156" , "name" : "Zombie Outbrk" , "category" : "Game" },
{ "id" : "028" , "name" : "Gem Saviour Sword" , "category" : "Game" },
{ "id" : "150" , "name" : "Gemstones Gold" , "category" : "Game" }
],
"activeLocale" : "id"
}