This repository was archived by the owner on Dec 4, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 872
docs(dependency-injection): add Dart version, tweak TS version #972
Closed
Closed
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
3b52317
Straight copy of content, no changes except a few omissions
kwalrath 1bbbc27
Include Dart samples, not TS samples.
kwalrath 10dab8a
shorten line length in some sample code
kwalrath 74cd216
Tweak samples
kwalrath 46a4a9a
tweak code
kwalrath 2b18715
first draft of Dart text
kwalrath f13d0fd
make output of Dart app match TS app's output
kwalrath 505f720
fix script tags in index.html
kwalrath ea1b774
sample cleanup
kwalrath b362c1d
more code cleanups
kwalrath 614a49b
midway through incorporating thso's comments...
kwalrath 0d7fbc4
a few more changes, incorporating thso's feedback
kwalrath 9409bb4
code tweaks suggested by thso
kwalrath 39d0b6f
delete "we probably already know" filler...
kwalrath 225f3b4
incorporate more comments from thso
kwalrath 835cfbb
user core.dart, b.12, much new code
kwalrath 537a5c9
Change appConfig to use a class (and still useValue)
kwalrath 5f40a6e
fix text to reflect new code
kwalrath e51f569
clean up last section and code includes
kwalrath a145b2d
final cleanup!
kwalrath File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Tweak samples
- Loading branch information
commit 74cd216093e4567b8802f7b3a6df3c4941641b05
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
public/docs/_examples/dependency-injection/dart/lib/car/car_factory.dart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could showcase the cascade operator here:
return new Car(createEngine(), createTires())..description = 'Factory';