Closed ginqi7 closed 2 years ago
Hello,
I believe this error is because the pseudocode.js builds available on jsdelivr CDN are old.
The renderClass
method was added recently (in #32) and I haven't yet pushed a new release for pseudocode.js. Thanks for noticing this. I will push a new build shortly.
ok, I close this issue and will try new version later. thank you for your reply.
It seems that the version on the CDN has not been updated yet.
Any updates recently?
Hello,
Sorry about the delay. I just merged a pending PR and fixed a bunch of small issues, then pushed 2.3.0. The latest
from CDN should now contain the renderClass
API.
Running into the following issue with this:
Hi @femtomc,
I just pushed v2.4.1 with a fix for this and the other bug you reported.
I have also added a test for renderClass
now.
Please see https://jsfiddle.net/wz5r6cy9/ for a test.
when I operate accoding to the README, i meet a problem is
pseudocode.renderClass is undefined
and pseudocode.renderElement is ok.