From db769916c284c6f42b68a71f45c68a23436f5fdd Mon Sep 17 00:00:00 2001 From: Vlad GURDIGA Date: Tue, 17 Dec 2013 06:22:43 +0200 Subject: [PATCH] docs($provide): fix Markdown formatting for provider method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Indentation made Markdown parser think that it’s a block of code. --- src/auto/injector.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/auto/injector.js b/src/auto/injector.js index 4eabc2fc4d78..3427d2a3c08d 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