source: Dev/trunk/src/client/qed-client/index.js @ 497

Last change on this file since 497 was 472, checked in by hendrikvanantwerpen, 12 years ago

Fixed deploy script.
Fix for ... in ... complaints by jshint.
Fix a typo.

File size: 423 bytes
RevLine 
[443]1define([
[463]2    "./app/Router",
3    "./routes",
[466]4    "./session",
[463]5    "./ui/MainMenu",
6    "dojo/_base/array",
7    "dojo/parser",
8    "./stddeps",
9    "dojo/domReady!"
[472]10], function(Router, routes, session, MainMenu, array, parser) {
[463]11
[443]12    parser.parse();
[466]13
14    new MainMenu({},"menu").startup();
15
16    array.forEach(routes,function(route){
17        Router.register(route);
[443]18    });
[468]19    Router.startup();
[466]20
[468]21    session.restore();
22
[443]23});
Note: See TracBrowser for help on using the repository browser.