vue/benchmarks/dbmon/app.js
2016-04-15 21:39:07 -04:00

17 lines
286 B
JavaScript

Vue.config.preserveWhitespace = false
var app = new Vue({
el: '#app',
data: {
databases: []
}
})
function loadSamples() {
app.databases = Object.freeze(ENV.generateData().toArray());
Monitoring.renderRate.ping();
setTimeout(loadSamples, ENV.timeout);
}
loadSamples()