You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this error comes from not importing the CanvasSpliner what I did is include it before the script
<script src="/static/js/CanvasSpliner.min.js"></script>
<script>
$(function() {
var cs = new CanvasSpliner("can", 300, 300);
});
then try to run it and I get this error.
It might be I need to compile the code since my setup is using django as the backend and mainly jquery on the front-end. Running on a fairly up to date browser.
This is the error:
color-editor:89 Uncaught TypeError: CanvasSpliner is not a constructor
at HTMLDocument.<anonymous> (color-editor:89)
at k (jquery.js:15)
at Object.fireWith [as resolveWith] (jquery.js:15)
at Function.ready (jquery.js:15)
at HTMLDocument.D (jquery.js:15)
as the repo maker I'd like your take on possible ways to fix this.
The text was updated successfully, but these errors were encountered:
I know this error comes from not importing the
CanvasSpliner
what I did is include it before the scriptthen try to run it and I get this error.
It might be I need to compile the code since my setup is using django as the backend and mainly jquery on the front-end. Running on a fairly up to date browser.
This is the error:
as the repo maker I'd like your take on possible ways to fix this.
The text was updated successfully, but these errors were encountered: