Fix whitespace/etc. in examples (#1115)

This commit is contained in:
Isiah Meadows 2016-06-18 03:39:55 -04:00 committed by GitHub
parent 8d4db4bfa9
commit 02cc4ec1d6
21 changed files with 282 additions and 283 deletions

View file

@ -14,18 +14,18 @@ update()
function update() {
data = ENV.generateData().toArray()
perfMonitor.startProfile("render")
render(root, view())
perfMonitor.endProfile("render")
setTimeout(update, ENV.timeout)
}
function view() {
return m("div", [
m("table", {className: "table table-striped latest-data"}, [
m("tbody",
m("tbody",
data.map(function(db) {
return m("tr", {key: db.dbname}, [
m("td", {className: "dbname"}, db.dbname),