Skip to content

Commit a4daba2

Browse files
committed
More p5 testing
1 parent 539e31e commit a4daba2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

generate/examples.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,13 @@ function get_examples_list($exstr){
114114

115115
if ($c->childCount > 0) {
116116
foreach ($c->childNodes as $s) {
117-
echo $s->hasAttribute("p5");
118-
if ($s->nodeType == 1 && $s->hasAttribute("p5")) {
117+
if ($s->nodeType == 1 && $s->hasAttribute('p5')) {
119118
$my_cats[$name][$s->getAttribute('file')] = trim($s->firstChild->nodeValue);
120119
}
121120
}
122121
}
123122
}
123+
echo $my_cats;
124124
return $my_cats;
125125
}
126126
function removesymbols($str){

0 commit comments

Comments
 (0)