Use empty function instead of Ember.K

Technically it's the same thing, but since in coffeescript it's just a
few characters, there is no need to use something that does not
explicitly say what it does.
This commit is contained in:
Piotr Sarnacki 2012-10-09 13:18:20 +02:00
parent 64fc6ce717
commit 233e95b18d
4 changed files with 6 additions and 6 deletions

View File

@ -150,18 +150,18 @@ Travis.Router = Ember.Router.extend
router.transitionTo('authenticated')
authenticated: Ember.Route.extend
authenticate: Ember.K
authenticate: (->)
connectOutlets: (router) ->
path = sessionStorage.getItem('travis.path')
sessionStorage.removeItem('travis.path')
router.transitionTo('root')
if path
router.route(path)
else
else
router.route('/')
root: Ember.Route.extend
authenticate: Ember.K
authenticate: (->)
loading: Ember.State.extend()
auth: Ember.Route.extend

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
095a1a79
c556b8be