Comparing version 0.0.156 to 0.0.157
@@ -31,5 +31,2 @@ /* globals v */ | ||
// Redraw whenver our state machine changes | ||
route.map( () => v.redraw() ) | ||
// Creates a partial fold we can spread into route.fold | ||
@@ -382,3 +379,6 @@ // to avoid a lot of repetition. | ||
` | ||
, { style: { '--scale': scale() }} | ||
, | ||
{ hook: ({ dom }) => | ||
scale.map( x => dom.style.setProperty('--scale', x)) | ||
} | ||
, v('.center' | ||
@@ -431,5 +431,10 @@ + v.css(` | ||
` | ||
, v('span', globe() ) | ||
, v('span'+v.css.pl('0.5em'), route.toURL(route())) | ||
, v('span', { | ||
hook: ({ dom }) => | ||
globe.map( x => dom.textContent = x ) | ||
} ) | ||
, v('span'+v.css.pl('0.5em'), { | ||
hook: ({ dom }) => | ||
route.map(route.toURL).map( x => dom.textContent = x ) | ||
}) | ||
) | ||
@@ -436,0 +441,0 @@ , v('.player' |
{ | ||
"name": "attain", | ||
"version": "0.0.156", | ||
"version": "0.0.157", | ||
"description": "A library for modelling and accessing data.", | ||
@@ -5,0 +5,0 @@ "main": "dist/attain.min.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
796352
10603