projects
/
qwp
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c26e2864363fa7e35aed65b2f254296b790bbc3b
[qwp]
/
qml
/
qwp
/
dataloader.js
1
// ![0]
2
WorkerScript.onMessage = function(msg) {
3
if (msg.action == 'appendCurrentTime') {
4
var data = {'time': new Date().toTimeString()};
5
msg.model.reload(); //append(data);
6
//msg.model.sync(); // updates the changes to the list
7
}
8
}
9
// ![0]