From 5332de7a117d18d04de91d27cecd3f75090aa78a Mon Sep 17 00:00:00 2001 From: mkolodny Date: Tue, 10 Dec 2013 09:50:31 -0500 Subject: [PATCH] Update injector.js Use the spacing convention for CoffeeScript functions. This convention is exhibited by http://coffeescript.org/ and https://github.com/polarmobile/coffeescript-style-guide#functions. --- 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 ee1d475cff0c..0edc9ffe6a37 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()
  *   ]
  *