gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Definiciones

Remove reference to undefined binding

2423d113e31dfa3806b60dfb279997a806a0d9df · por Mike Pennisi · (hace 7 años) · padre 7c39d8dd6 · ver el árbol en este commit

Delta semántico

Ninguna definición cambió: el cambio es de texto, documentación o datos.

1 archivos · +1 −1

diff --git a/docs/src/pages/docs/javascript.mdx b/docs/src/pages/docs/javascript.mdx
index 163725bdc..a2b917ac5 100644
--- a/docs/src/pages/docs/javascript.mdx
+++ b/docs/src/pages/docs/javascript.mdx
@@ -49,7 +49,7 @@ node.addChild(new Node({width: 100, height: 100}));
 node.computeLayout();
   
 // Mutate node
-node.setStyle(Style({width: 100, height: 100}))
+node.setStyle({width: 100, height: 100})
  
 // This call will return partially cached results
 node.computeLayout();