Skip to content

Instantly share code, notes, and snippets.

@steida
Created December 19, 2013 01:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steida/8032753 to your computer and use it in GitHub Desktop.
Save steida/8032753 to your computer and use it in GitHub Desktop.
###*
@fileoverview XYZ app.
###
goog.provide 'App'
class App
###*
@param {este.labs.App} app
@param {app.Routes} routes
@param {app.home.Controller} homeController
@param {app.products.detail.Controller} productsDetailController
@constructor
###
constructor: (app, routes,
homeController,
productsDetailController) ->
app.add routes.home, homeController
app.add routes.drugsDetail, productsDetailController
app.start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment