Perhaps a better long-term solution would be to clean up the samples folder and making the demo directly get the sample code from there. Not sure how one would go about doing this, though.
The factorial demo was just fixed by 0920aa031f55aff8dfc35d6e10e2f83a74fa4c21 but I'll keep this issue open until the source of the online demo's sample code is given more thought
See the factorial demo code.(fixed)Perhaps a better long-term solution would be to clean up the
samples
folder and making the demo directly get the sample code from there. Not sure how one would go about doing this, though.