diff --git a/scripts/components/app.jsx b/scripts/components/app.jsx index 91fef10..1390a1e 100644 --- a/scripts/components/app.jsx +++ b/scripts/components/app.jsx @@ -31,10 +31,10 @@ class AppComponent { view() { return (
this.toggleReference(clickEvent)}> - - App Reference + + App Reference - + by Caleb Evans

Truthy

@@ -42,7 +42,7 @@ class AppComponent {

Variables

Table

-
+

diff --git a/scripts/components/reference.jsx b/scripts/components/reference.jsx index 887e1bc..a0396d5 100644 --- a/scripts/components/reference.jsx +++ b/scripts/components/reference.jsx @@ -38,20 +38,20 @@ class ReferenceComponent { view({ attrs: { app, referenceIsOpen } }) { return ( -

-
this.tryExample(clickEvent, app)}> - Close +
this.tryExample(clickEvent, app)}> + Close

App Reference

-

Click any example to try it!

+

Click any example to try it!

{ReferenceComponent.features.map((feature) => { return ( -
+

{feature.name}

{feature.examples.map((example) => { - return
{example}
; + return
{example}
; })}
); diff --git a/scripts/components/table.jsx b/scripts/components/table.jsx index af30b4d..0bd3348 100644 --- a/scripts/components/table.jsx +++ b/scripts/components/table.jsx @@ -73,14 +73,14 @@ class TableComponent { this.handleControls(clickEvent)} oninput={(inputEvent) => this.updateExpressionString(inputEvent)}> {this.app.variables.map((variable) => { - return {variable.name ? variable.name : '?'}; + return {variable.name ? variable.name : '?'}; })} {this.app.expressions.map((expression, e) => { return ( - -
-
- {this.app.expressions.length > 1 ?
: null} + +
+
+ {this.app.expressions.length > 1 ?
: null} this.focusNewExpression(vnode)} onupdate={(vnode) => this.focusNewExpression(vnode)} data-index={e} />
@@ -95,7 +95,7 @@ class TableComponent { {this.app.variables.map((variable) => { let varValue = varValues[variable.name]; return ( - @@ -106,7 +106,7 @@ class TableComponent { {this.app.expressions.map((expression) => { let exprValue = expression.evaluate(varValues); return ( - this.handleControls(clickEvent)} oninput={(inputEvent) => this.updateVariableName(inputEvent)}> {this.app.variables.map((variable, v) => { return ( -
-
-
- {this.app.variables.length > 1 ?
: null} +
+
+
+ {this.app.variables.length > 1 ?
: null} this.focusNewVariable(vnode)} onupdate={(vnode) => this.focusNewVariable(vnode)} data-index={v} />