From 1f47aade63ce9f31641aa7368320cbd0e7cfaec6 Mon Sep 17 00:00:00 2001 From: Felix Angelov Date: Sun, 4 Nov 2018 18:26:04 -0600 Subject: [PATCH] minor formatting/documentation updates + angular_bloc v0.1.0 --- README.md | 4 +++- examples/flutter_login/lib/authentication/authentication.dart | 2 +- examples/flutter_login/lib/home/home.dart | 2 +- examples/flutter_login/lib/splash/splash.dart | 2 +- packages/angular_bloc/README.md | 4 ++-- .../angular_bloc/example/{app_component.dart => example.dart} | 0 6 files changed, 8 insertions(+), 6 deletions(-) rename packages/angular_bloc/example/{app_component.dart => example.dart} (100%) diff --git a/README.md b/README.md index 31716066f20..099f43ee8f4 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,9 @@ The goal of this package is to make it easy to separate _presentation_ from _bus - [Simple Counter Example](https://github.com/felangel/Bloc/tree/master/packages/flutter_bloc/example) - an example of how to create a `CounterBloc` to implement the classic Flutter Counter app. - [Login Flow Example](https://github.com/felangel/Bloc/tree/master/examples/flutter_login) - an example of how to use the `bloc` and `flutter_bloc` packages to implement a Login Flow. -- [AngularDart Counter Example](https://github.com/felangel/Bloc/tree/master/examples/angular_counter) - an example of how to use a `CounterBloc` in an AngularDart app. + +### Web +- [Counter Example](https://github.com/felangel/Bloc/tree/master/examples/angular_counter) - an example of how to use a `CounterBloc` in an AngularDart app. ## Articles diff --git a/examples/flutter_login/lib/authentication/authentication.dart b/examples/flutter_login/lib/authentication/authentication.dart index d21b0e4644c..69b9858861d 100644 --- a/examples/flutter_login/lib/authentication/authentication.dart +++ b/examples/flutter_login/lib/authentication/authentication.dart @@ -1,3 +1,3 @@ export 'authentication_bloc.dart'; export 'authentication_event.dart'; -export 'authentication_state.dart'; \ No newline at end of file +export 'authentication_state.dart'; diff --git a/examples/flutter_login/lib/home/home.dart b/examples/flutter_login/lib/home/home.dart index a4496c8ecc0..e4ff2696434 100644 --- a/examples/flutter_login/lib/home/home.dart +++ b/examples/flutter_login/lib/home/home.dart @@ -1 +1 @@ -export 'home_page.dart'; \ No newline at end of file +export 'home_page.dart'; diff --git a/examples/flutter_login/lib/splash/splash.dart b/examples/flutter_login/lib/splash/splash.dart index 1f209361476..7bc1c882cbd 100644 --- a/examples/flutter_login/lib/splash/splash.dart +++ b/examples/flutter_login/lib/splash/splash.dart @@ -1 +1 @@ -export 'splash_page.dart'; \ No newline at end of file +export 'splash_page.dart'; diff --git a/packages/angular_bloc/README.md b/packages/angular_bloc/README.md index 644cc6585c6..699677a588d 100644 --- a/packages/angular_bloc/README.md +++ b/packages/angular_bloc/README.md @@ -22,7 +22,7 @@ Lets take a look at how to use `BlocPipe` to hook up a `CounterPage` html templa counter_page_component.html ```html -
+

Counter App

Current Count: {{ counterBloc | bloc }}

+ @@ -77,7 +77,7 @@ At this point we have sucessfully separated our presentational layer from our bu ## Examples -- [Simple Counter Example](https://github.com/felangel/Bloc/tree/master/packages/angular_bloc/example) - an complete example of how to create a `CounterBloc` and hook it up to an AngularDart app. +- [Simple Counter Example](https://github.com/felangel/Bloc/tree/master/packages/angular_bloc/example) - a complete example of how to create a `CounterBloc` and hook it up to an AngularDart app. ### Contributors diff --git a/packages/angular_bloc/example/app_component.dart b/packages/angular_bloc/example/example.dart similarity index 100% rename from packages/angular_bloc/example/app_component.dart rename to packages/angular_bloc/example/example.dart