My Dart-App works fine in Dartium, but when I compile to js there is this error:
Uncaught TypeError: Object #<HTMLDocument> has no method 'registerElement'
My pubspec looks like this:
name: Capira_v8
description: Capira v8
dependencies:
bootjack: any
ctrl_alt_foo: any
event_bus: any
js: any
json_object: any
polymer: any
transformers:
- polymer:
entry_points: web/capira_v8.html
I am using:
Dart Editor version 1.2.0.release (STABLE)
Dart SDK version 1.2.0
OS X 10.8.5
I saw this thread, but it did not help: Link
Thanks for any hints!