Skip to content

Commit 4db6229

Browse files
committed
Allow resetting the list of installed apps without complete init
1 parent dc682af commit 4db6229

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/apploader.js

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ var apps = [];
2626
var device = { id : DEVICEID, appsInstalled : [] };
2727
var language; // Object of translations
2828

29+
exports.reset = function(){
30+
device.appsInstalled = [];
31+
}
32+
2933
/* call with {
3034
DEVICEID:"BANGLEJS/BANGLEJS2"
3135
VERSION:"2v20"

0 commit comments

Comments
 (0)