开发者

'G_vmlCanvasManager' is undefined

开发者 https://www.devze.com 2023-01-05 15:53 出处:网络
I am using the highcharts charting library, i am including excanvas if the browser is ie using <!-开发者_如何转开发-[if IE]>

I am using the highcharts charting library,

i am including excanvas if the browser is ie using

<!-开发者_如何转开发-[if IE]>
    <script type="text/javascript" src="<script type="text/javascript" src="excanvas.compiled.js"></script>
<![endif]--> 

yet i still get 'G_vmlCanvasManager' is undefined


is it a typo?

yours is

<!--[if IE]>
    <script type="text/javascript" src="<script type="text/javascript" src="excanvas.compiled.js"></script>
<![endif]--> 

should it be?

<!--[if IE]>
    <script type="text/javascript" src="xcanvas.compiled.js"></script>
<![endif]--> 


I also get this error. It was a I was referencing 'G_vmlCanvasManager' in my javascript instead of 'window.G_vmlCanvasManager'

0

精彩评论

暂无评论...
验证码 换一张
取 消