I only copy instance from index.html and past in my script js, after I see this error
fabric.curvedText.js:39 Uncaught TypeError: Cannot set property 'backgroundColor' of undefined at fabric.curvedText.js:39 at fabric.curvedText.js:566 (anonymous) @ fabric.curvedText.js:39 (anonymous) @ fabric.curvedText.js:566
script.js:100 Uncaught TypeError: fabric.CurvedText is not a constructor at window.onload (script.js:100)
I only copy instance from index.html and past in my script js, after I see this error
fabric.curvedText.js:39 Uncaught TypeError: Cannot set property 'backgroundColor' of undefined at fabric.curvedText.js:39 at fabric.curvedText.js:566 (anonymous) @ fabric.curvedText.js:39 (anonymous) @ fabric.curvedText.js:566
script.js:100 Uncaught TypeError: fabric.CurvedText is not a constructor at window.onload (script.js:100)