Minor updates to Doctests.
This commit is contained in:
+4
-2
@@ -76,6 +76,8 @@
|
||||
|
||||
<script class="doctest">
|
||||
|
||||
Doctest.expect(ITapDelegate.implementedBy(CardWrapper), true)
|
||||
|
||||
const wrapper1 = new CardWrapper(demoCardWithOnClick)
|
||||
wrapper1.handleClicksAsTaps()
|
||||
|
||||
@@ -92,8 +94,8 @@
|
||||
<h2>
|
||||
Using Cards within Scatters
|
||||
</h2>
|
||||
<p>Cards can be used within scatters. Since the CardWrapper implements the TapDelegate protocol they can simply
|
||||
be attached to a DOMScatter object.
|
||||
<p>Cards can be used within scatters. Since the <code>CardWrapper</code> implements the <code>ITapDelegate</code> protocol they can simply
|
||||
be attached to a DOMScatter object. See the <a href="../scatter.html">Scatter Doctest</a>.
|
||||
</p>
|
||||
<div class="interactive grayBorder" style="position: relative;">
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user