Created
February 20, 2012 13:54
-
-
Save nhunzaker/1869320 to your computer and use it in GitHub Desktop.
Are Plates collections truly iterative?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<li class="name"> | |
[object Object],[object Object] | |
</li> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<li class="name"> | |
<span class="first"></span>: | |
<span class="middle"></span> | |
<span class="last"></span> | |
</li> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
name: [ | |
{ | |
"first" : "John", | |
"middle" : "C", | |
"last" : "Smith" | |
}, | |
{ | |
"first" : "Jane", | |
"middle" : "A", | |
"last" : "Doe" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<li class="name"> | |
<span class="first">John</span>: | |
<span class="middle">C</span> | |
<span class="last">Smith</span> | |
</li> | |
<li class="name"> | |
<span class="first">Jane</span>: | |
<span class="middle">A</span> | |
<span class="last">Doe</span> | |
</li> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Following the format of other Plates tests | |
'iterate a collection over nested elements.': ( | |
function() { | |
return common.createTest('test'); | |
}() | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment