mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-14 05:55:00 -04:00
Merge pull request #1135 from kumabotz/fix-indentation-and-typo
Fix indentation and typo
This commit is contained in:
commit
89888b0502
2 changed files with 3 additions and 3 deletions
|
@ -150,7 +150,7 @@ UserHandler = class UserHandler extends Handler
|
|||
return @sendDatabaseError(res, err) if err
|
||||
res.send JSON.stringify(count + 1)
|
||||
|
||||
getSimulatorLeaderboardQueryParameters: (req) ->
|
||||
getSimulatorLeaderboardQueryParameters: (req) ->
|
||||
@validateSimulateLeaderboardRequestParameters(req)
|
||||
|
||||
query = {}
|
||||
|
|
|
@ -48,7 +48,7 @@ setupPassportMiddleware = (app) ->
|
|||
app.use(authentication.initialize())
|
||||
app.use(authentication.session())
|
||||
|
||||
setupOneSecondDelayMiddlware = (app) ->
|
||||
setupOneSecondDelayMiddleware = (app) ->
|
||||
if(config.slow_down)
|
||||
app.use((req, res, next) -> setTimeout((-> next()), 1000))
|
||||
|
||||
|
@ -74,7 +74,7 @@ exports.setupMiddleware = (app) ->
|
|||
setupMiddlewareToSendOldBrowserWarningWhenPlayersViewLevelDirectly app
|
||||
setupExpressMiddleware app
|
||||
setupPassportMiddleware app
|
||||
setupOneSecondDelayMiddlware app
|
||||
setupOneSecondDelayMiddleware app
|
||||
|
||||
###Routing function implementations###
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue