Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 99c5027

Browse files
gurdigacaitp
authored andcommitted
docs($provide): fix Markdown formatting for provider method
Indentation made Markdown parser think that it’s a block of code. Closes #5446
1 parent 90e60d2 commit 99c5027

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/auto/injector.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,9 @@ function annotate(fn) {
354354
* @param {(Object|function())} provider If the provider is:
355355
*
356356
* - `Object`: then it should have a `$get` method. The `$get` method will be invoked using
357-
* {@link AUTO.$injector#invoke $injector.invoke()} when an instance needs to be
358-
* created.
359-
* - `Constructor`: a new instance of the provider will be created using
360-
* {@link AUTO.$injector#instantiate $injector.instantiate()}, then treated as
361-
* `object`.
357+
* {@link AUTO.$injector#invoke $injector.invoke()} when an instance needs to be created.
358+
* - `Constructor`: a new instance of the provider will be created using
359+
* {@link AUTO.$injector#instantiate $injector.instantiate()}, then treated as `object`.
362360
*
363361
* @returns {Object} registered provider instance
364362

0 commit comments

Comments
 (0)