comparison src/app.coffee @ 3:98a070c98982

add Twitter support
author Mathias Gebbe <mgebbe@intevation.de>
date Thu, 05 Jun 2014 18:02:25 +0200
parents b73191efc65b
children 6b3f38af3fa4
comparison
equal deleted inserted replaced
2:e942a968cb52 3:98a070c98982
1 # Copyright (C) 2014 by Intevation GmbH 1 # Copyright (C) 2014 by Intevation GmbH
2 # Author: Mathias Gebbe <mgebbe@intevation.de> 2 # Author: Mathias Gebbe <mgebbe@intevation.de>
3 # 3 #
4 # This file is Free Software under the Apache License, Version 2.0 4 # This file is Free Software under the Apache License, Version 2.0;
5 # (the "License"); and comes with ABSOLUTELY NO WARRANTY! 5 # and comes with NO WARRANTY!
6 # You may not use this file except in compliance with the License. 6 # See the documentation coming with pumpbridge for details.
7 # See LICENSE for details.
8 7
9 async = require 'async' 8 async = require 'async'
10 databank = require 'databank' 9 databank = require 'databank'
11 Databank = databank.Databank 10 Databank = databank.Databank
12 DatabankObject = databank.DatabankObject 11 DatabankObject = databank.DatabankObject
18 17
19 async.waterfall [ 18 async.waterfall [
20 (callback) -> 19 (callback) ->
21 # sets up the config 20 # sets up the config
22 app = new PumpIOClientApp(config) 21 app = new PumpIOClientApp(config)
23
24 # Attach shadows to the user
25 22
26 routes.addRoutes app 23 routes.addRoutes app
27 24
28 # Start the app 25 # Start the app
29 app.log.debug 26 app.log.debug
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)