Test Git on little cleaning code
[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]