save test results

This commit is contained in:
rolux 2012-06-12 16:55:13 +02:00
commit 28075133ee
2 changed files with 14 additions and 6 deletions

View file

@ -382,6 +382,7 @@ Ox.load(function() {
path: 'dev/',
references: /\b(Ox\.[\w\$]+)\b/g,
replace: [app.re.code],
results: app.data.testResults || void 0,
selected: app.user.item.doc,
showTests: true
})
@ -401,6 +402,9 @@ Ox.load(function() {
.bindEventOnce({
load: function(data) {
app.data.docItems = data.items;
},
tests: function(data) {
app.data.testResults = data.results;
}
});
},