Skip to content

Commit

Permalink
Update docs examples
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellogalhardo committed Nov 17, 2021
1 parent 659a5bc commit d0f706d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ import org.koin.core.scope.new
*
* Example:
* ```
* class ViewModel
* class MyViewModel : ViewModel()
*
* val myModule = module {
* viewModel(::ViewModel)
* viewModel(::MyViewModel)
* }
* ```
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import org.koin.core.scope.new
*
* Example:
* ```
* class ViewModel
* class Model
*
* val myModule = module {
* factory(::ViewModel)
* factory(::Model)
* }
* ```
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import org.koin.core.scope.new
*
* Example:
* ```
* class ViewModel
* class Model
*
* val myModule = module {
* factory(::ViewModel)
* factory(::Model)
* }
* ```
*
Expand Down

0 comments on commit d0f706d

Please sign in to comment.