registerDartType. In order to use this you will need to be using the
initializepackage, and call its
runmethod from your main function. It is also recommended that you include the transformer from that package to remove the use of mirrors at runtime, see initialize for more information.
platform.jshas been replaced with
webcomponents.js. Also, the default file is now unminified, and the minified version is called
.concat.jsfiles during release mode.
Updated to platform version 0.4.2, internally a deprecated API was removed, hence the bump in the version number.
split dart_support.js in two. dart_support.js only contains what is necessary in order to use platform.js, interop_support.js/interop_support.html can be imported separately when providing Dart APIs for js custom elements.
node. There is no longer a single global observer, but one for each ShadowRoot and one for the main document. The observer that is actually used defaults to the main document, but if
nodeis supplied then it will walk up the document tree and use the first observer that it finds.
registerDartTypeand updates to platform 0.3.3-29065bc (re-applies the changes in 0.3.5).