source: Dev/branches/rest-dojo-ui/client/rft/view.js @ 399

Last change on this file since 399 was 399, checked in by hendrikvanantwerpen, 13 years ago

Added survey viewer page.

Added view.html page to view surveys. Widgets from the questions are
displayed, no answers are saved yet.

The content module is split for index.html and view.html, so viewers
cannot navigate to other pages. Widgets to pre-load are now seperated
in stddeps.js module and shared between run.js & view.js.

File size: 300 bytes
RevLine 
[263]1require([
[382]2    'dojo/parser',
3    'rft/auth',
4    'rft/content',
[399]5    'rft/stddeps',
6    'rft/viewContent',
7    'dojo/domReady!'
8],function(parser,auth,content) {
9    parser.parse();
10    content.init();
[389]11
[399]12    auth.restore()
13    .then(function(){
14        content.initial();
15    },function(){
[347]16    });
17
[399]18});
Note: See TracBrowser for help on using the repository browser.