Changeset 399 for Dev/branches/rest-dojo-ui/client/rft/stddeps.js
- Timestamp:
- 08/15/12 18:30:58 (13 years ago)
- Location:
- Dev/branches/rest-dojo-ui
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui
- Property svn:ignore
-
old new 1 1 nbproject 2 .project
-
- Property svn:ignore
-
Dev/branches/rest-dojo-ui/client/rft/stddeps.js
r398 r399 1 require([ 2 // functions required for run 3 'dojo/_base/connect', 4 'dojo/_base/window', 5 'dojo/dom', 6 'dojo/parser', 7 'rft/auth', 8 'rft/content', 9 'rft/ui/LoginDialog', 10 'dojo/domReady!', 11 1 define([ 12 2 // dijit & rft widgets used declaratively in templates and pages 13 3 'dijit/Dialog', … … 54 44 'rft/pages/sessions', 55 45 'rft/pages/surveys', 56 'rft/pages/survey' 57 ], 58 function(connect,win,dom,parser,auth,content,LoginDialog) { 59 parser.parse(); 60 61 var login = new LoginDialog().placeAt(win.body()); 62 login.startup(); 63 64 auth.restore() 65 .then(function(){ 66 content.initial(); 67 },function(){ 68 login.show(); 69 }); 70 71 connect.connect(dom.byId('loginMenu'),'click',function(){ 72 login.show(); 73 }); 74 75 }); 76 77 function goToPage(page) { 78 throw "Obsolete navigation to "+page; 79 } 46 'rft/pages/survey', 47 'rft/pages/viewSurvey' 48 ],function(){});
Note: See TracChangeset
for help on using the changeset viewer.