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

Unified Diff: third_party/pkg/di/test/assets/gen_test1/main.dart

Issue 256553002: Revert "Update all Angular libs (run update_all.sh)." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
Index: third_party/pkg/di/test/assets/gen_test1/main.dart
diff --git a/third_party/pkg/di/test_assets/gen_test1/main.dart b/third_party/pkg/di/test/assets/gen_test1/main.dart
similarity index 76%
rename from third_party/pkg/di/test_assets/gen_test1/main.dart
rename to third_party/pkg/di/test/assets/gen_test1/main.dart
index c1c6dd899e4a5d73a61928edc170abbf05e823ce..1b68333591812733fb27f7df2332241356fc257c 100644
--- a/third_party/pkg/di/test_assets/gen_test1/main.dart
+++ b/third_party/pkg/di/test/assets/gen_test1/main.dart
@@ -9,17 +9,12 @@ import 'a.dart' as a;
@lazyB
import 'b.dart' as b;
-@lazyC
-import 'c.dart' as c;
-
const lazyA = const DeferredLibrary('lib_a');
const lazyB = const DeferredLibrary('lib_b');
-const lazyC = const DeferredLibrary('lib_c');
void main() {
lazyA.load().then(onALoaded);
lazyB.load().then(onBLoaded);
- lazyC.load().then(onCLoaded);
}
void onALoaded(_) {
@@ -32,11 +27,7 @@ void onBLoaded(_) {
serviceB.sayHi();
}
-void onCLoaded(_) {
- c.cStuff();
-}
-
-@InjectableTest()
+@Injectable()
class ServiceMain {
sayHi() {
print('Hi ServiceMain!');
« no previous file with comments | « third_party/pkg/di/test/assets/gen_test1/common2.dart ('k') | third_party/pkg/di/test/auto_injector_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698