projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qdeclarativelistmodel
/
data
/
script.js
1
WorkerScript.onMessage = function(msg) {
2
var result = null
3
try {
4
for (var i=0; i<msg.commands.length; i++) {
5
var c = 'msg.model.' + msg.commands[i]
6
result = eval(c)
7
}
8
msg.model.sync()
9
} catch(e) { }
10
WorkerScript.sendMessage({'done': true, 'result': result})
11
}
12
13