Domanda

I'm working on simple online building planner tool, which uses svg element (dart:svg library) as editor canvas. Development build works perfect in native Dartium VM, but after running dart2js I'm getting next error in any browser:

Uncaught TypeError: Object #<SVGAnimatedString> has no method 'split' 

Dart does't show any error while compiling to js. Error appears right after DOM loaded, so could it be dart2js translator issue?

Thanks in advance!

È stato utile?
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top