save test results
This commit is contained in:
parent
0d2f082779
commit
28075133ee
2 changed files with 14 additions and 6 deletions
4
index.js
4
index.js
|
|
@ -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;
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue