diff --git a/docs/_docs/layout2-layoutspec-types.md b/docs/_docs/layout2-layoutspec-types.md index a5ab39b14..f907343a3 100755 --- a/docs/_docs/layout2-layoutspec-types.md +++ b/docs/_docs/layout2-layoutspec-types.md @@ -48,7 +48,7 @@ You may also subclass `ASLa { _subnode.style.preferredSize = CGSizeMake(constrainedSize.max.width, constrainedSize.max.height / 2.0); - return [ASWrapperLayoutSpec wrapperWithLayoutElement:subnode]; + return [ASWrapperLayoutSpec wrapperWithLayoutElement:_subnode]; } diff --git a/docs/_docs/layout2-quickstart.md b/docs/_docs/layout2-quickstart.md index 047025fd9..2edbfda96 100755 --- a/docs/_docs/layout2-quickstart.md +++ b/docs/_docs/layout2-quickstart.md @@ -56,7 +56,7 @@ The play button on top of the `ASVideoNode` (top image) is placed using an `ASCe -Some elements have an "intrinsic size" based on their immediately available content. For example, ASTextNode can calculate its size based on its attributed string. Other nodes that have an intrinsic size include +Some elements have an "intrinsic size" based on their immediately available content. For example, ASTextNode can calculate its size based on its attributed string. Nodes that have an intrinsic size include - `ASImageNode` - `ASTextNode`