Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: CHANGELOG.md

Issue 1026153002: add initWebComponents (Closed) Base URL: git@github.com:dart-lang/web-components.git@master
Patch Set: code review updates Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/build/mirrors_remover.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: CHANGELOG.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6de608fd11b3cd5c16a62877d24347b43da56851..a46dbea8571a439cb872ca52b29658148d7842e2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,21 @@
+#### 0.11.1
+ * Added `initWebComponents` function which performs html import aware
+ initialization of an application. This is done by crawling all imported
+ documents for dart script tags and initializing them. Any applications using
+ this package should switch to this method instead of calling `run` from the
+ `initialize` package directly.
+ * You may also now just export `package:web_components/init.dart` to
+ initialize your app, and then stick your startup code inside a method marked
+ with `@initMethod`, for instance:
+
+ library my_app;
+ export 'package:web_components/init.dart';
+
+ @initMethod
+ void startup() {
+ // custom app code here.
+ }
+
#### 0.11.0
* Add `bindingStartDelimiters` option to the `ImportInlinerTransformer`. Any
urls which contain any of the supplied delimiters before the first `/` will
« no previous file with comments | « no previous file | lib/build/mirrors_remover.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698