Skip to content

Commit f44b7f1

Browse files
authored
change indent on defaultsettings and remove extra lines
1 parent 96a7bf0 commit f44b7f1

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

js/index.js

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
let appJSON = []; // List of apps and info from apps.json
22
let appSortInfo = {}; // list of data to sort by, from appdates.csv { created, modified }
33
let appCounts = {};
4-
let files = []; // list of files on the Espruimo Device
4+
let files = []; // list of files on the Espruino Device
55
const DEFAULTSETTINGS = {
6-
pretokenise : true,
7-
minify : false, // disabled by default due to https://github.com/espruino/BangleApps/pull/355#issuecomment-620124162
8-
settime : false, // Always update time when we connect
9-
favourites : ["launch"],
10-
appsFavoritedInSession : [],
11-
language : "",
12-
bleCompat: false, // 20 byte MTU BLE Compatibility mode
13-
sendUsageStats: true, // send usage stats to banglejs.com
14-
alwaysAllowUpdate : false, // Always show "reinstall app" button regardless of the version
15-
autoReload: false, // Automatically reload watch after app App Loader actions (removes "Hold button" prompt)
16-
noPackets: false, // Enable File Upload Compatibility mode (disables binary packet upload)
6+
pretokenise : true,
7+
minify : false, // disabled by default due to https://github.com/espruino/BangleApps/pull/355#issuecomment-620124162
8+
settime : false, // Always update time when we connect
9+
favourites : ["launch"],
10+
appsFavoritedInSession : [],
11+
language : "",
12+
bleCompat: false, // 20 byte MTU BLE Compatibility mode
13+
sendUsageStats: true, // send usage stats to banglejs.com
14+
alwaysAllowUpdate : false, // Always show "reinstall app" button regardless of the version
15+
autoReload: false, // Automatically reload watch after app App Loader actions (removes "Hold button" prompt)
16+
noPackets: false, // Enable File Upload Compatibility mode (disables binary packet upload)
1717
};
1818
let SETTINGS = JSON.parse(JSON.stringify(DEFAULTSETTINGS)); // clone
1919

@@ -1578,7 +1578,3 @@ if (btn) btn.addEventListener("click",event=>{
15781578
Comms.on("data",x=>Espruino.Core.Terminal.outputDataHandler(x))
15791579
Espruino.Core.Terminal.setInputDataHandler(function(d) { Comms.write(d); })
15801580
});
1581-
1582-
1583-
1584-

0 commit comments

Comments
 (0)