From 99c5027bf26fa1e14611eb38b8ad9d0197784897 Mon Sep 17 00:00:00 2001 From: Vlad GURDIGA Date: Tue, 17 Dec 2013 06:22:43 +0200 Subject: docs($provide): fix Markdown formatting for provider method Indentation made Markdown parser think that it’s a block of code. Closes #5446 --- src/auto/injector.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/auto/injector.js b/src/auto/injector.js index b14b8af2..becc878d 100644 --- a/src/auto/injector.js +++ b/src/auto/injector.js @@ -354,11 +354,9 @@ function annotate(fn) { * @param {(Object|function())} provider If the provider is: * * - `Object`: then it should have a `$get` method. The `$get` method will be invoked using - * {@link AUTO.$injector#invoke $injector.invoke()} when an instance needs to be - * created. - * - `Constructor`: a new instance of the provider will be created using - * {@link AUTO.$injector#instantiate $injector.instantiate()}, then treated as - * `object`. + * {@link AUTO.$injector#invoke $injector.invoke()} when an instance needs to be created. + * - `Constructor`: a new instance of the provider will be created using + * {@link AUTO.$injector#instantiate $injector.instantiate()}, then treated as `object`. * * @returns {Object} registered provider instance -- cgit v1.2.3