javascript - processing.js inside handlebars not loading -


I have an HTML canvas element that uses a processing. JS script as shown here:

  & lt; Canvas id = "micekette" data-processing-source = "form.pde" & gt; & Lt; / Canvas & gt;   

This canvas element is inside a handler script, at the end of the file, before the closing body tag, I have:

    

If I put the canvas inside the Handlabar script, then the processing script does not render. (I think this is a processing script, though it is the last thing in the HTML file, which gives before the handlers script, and so is made even before the canvas element. I'm not sure.) < p> If I put the canvas processing outside the handlers script, it renders correctly, but I need to do it inside the handbar script.

Maybe, there is a way of running the processing after all running?

processing.js Only loading automatic scripts on content content loading. If you are templating your canvas later (i.e. through the templatelining library), you will have to use processing or reloading, using, or you need to add some JS that clearly loads your source where You need it, / div>

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -