From 14d3e559d45e606a1e96860ebb28d65656ff334a Mon Sep 17 00:00:00 2001 From: mkolodny Date: Tue, 10 Dec 2013 09:50:31 -0500 Subject: docs($injector): use correct spacing convention for CoffeeScript functions This convention is exhibited by http://coffeescript.org/ and https://github.com/polarmobile/coffeescript-style-guide#functions. Closes #5354 --- src/auto/injector.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/auto/injector.js b/src/auto/injector.js index 4eabc2fc..4d4b1b93 100644 --- a/src/auto/injector.js +++ b/src/auto/injector.js @@ -485,15 +485,15 @@ function annotate(fn) { * {@link AUTO.$provide#methods_service $provide.service(class)} that is defined as a CoffeeScript class. *
  *   class Ping
- *     constructor: (@$http)->
- *     send: ()=>
+ *     constructor: (@$http) ->
+ *     send: () =>
  *       @$http.get('/ping')
  *
  *   $provide.service('ping', ['$http', Ping])
  * 
* You would then inject and use this service like this: *
- *   someModule.controller 'Ctrl', ['ping', (ping)->
+ *   someModule.controller 'Ctrl', ['ping', (ping) ->
  *     ping.send()
  *   ]
  * 
-- cgit v1.2.3