Pascal Serrarens 17741d862a First commit
2022-01-12 10:50:57 +01:00

18 lines
355 B
JavaScript

var SyncFS = {
WindowAlert : function(message)
{
window.alert(Pointer_stringify(message));
},
SyncFiles : function()
{
FS.syncfs(false,function (err) {
console.log('Error: syncfs failed!');
});
console.log('Error: syncfs executed');
}
};
mergeInto(LibraryManager.library, SyncFS);