aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad GURDIGA2013-12-17 06:22:43 +0200
committerCaitlin Potter2014-01-18 22:09:56 -0500
commit99c5027bf26fa1e14611eb38b8ad9d0197784897 (patch)
tree4c0e9137b858cb65e0a15749651b9b0faed8af7e
parent90e60d2d54ddadf29e5b7c52ac16b3c0f52b4650 (diff)
downloadangular.js-99c5027bf26fa1e14611eb38b8ad9d0197784897.tar.bz2
docs($provide): fix Markdown formatting for provider method
Indentation made Markdown parser think that it’s a block of code. Closes #5446
-rw-r--r--src/auto/injector.js8
1 files changed, 3 insertions, 5 deletions
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