Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

attain

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

attain - npm Package Compare versions

Comparing version 0.0.66 to 0.0.67

42

docs/examples/tape-player.js

@@ -196,3 +196,3 @@ /* globals v */

if( dt > 50 ) {
if( dt > 100 ) {
const next =

@@ -218,10 +218,13 @@ loop({

v(
'button'
'div'
+ v.css`
bc #1043d8
border 0
w 4.3em
h 4.3em
w 3.5em
h 3.5em
br 0.8em
transition 0.2s
d grid
jc center
ac center
`

@@ -262,27 +265,12 @@ .$disabled(`

const ff = () =>
button('https://attain.harth.io/examples/fast-forward.svg', {
onmousedown(e){
try {
const dom = e.target
window.addEventListener('mouseup', lol)
transitions(
route.FF({ time: tapePlayer.value.time(), after: tapePlayer().tag })
)
function lol(){
console.log('lol')
transitions(
route.Paused({ time: tapePlayer.value.time() })
)
// window.removeEventListener('mouseup', lol)
}
} catch (e) {
console.error(e)
}
},
onclick(){
console.log('up')
onmousedown(){
transitions(
route.FF({ time: tapePlayer.value.time(), after: tapePlayer().tag })
)
}
, onmouseup(){
transitions(
route.Paused({ time: tapePlayer.value.time() })

@@ -352,3 +340,3 @@ )

const total = stream(5)
const total = stream(30)

@@ -355,0 +343,0 @@ const elapsed =

{
"name": "attain",
"version": "0.0.66",
"version": "0.0.67",
"description": "A library for modelling and accessing data.",

@@ -5,0 +5,0 @@ "main": "dist/attain.min.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc