js interop compiled with dart2js error - Uncaught NoSuchMethodError : method not found:

后端 未结 1 1442

I generated a sample Polymer web project. Added following js file.

jslib.js

function testfunction()
{
aler         


        
1条回答
  •  眼角桃花
    2020-12-18 12:45

    Try putting your reference to interop.js above that of the compiled dart file and dart.js:

    
    
    
    

    I learned this from Dart Issue # 15065 and it resolved a similar error I had with the dart:js library.

    0 讨论(0)
提交回复
热议问题