Ignore:
Timestamp:
07/13/12 15:13:46 (13 years ago)
Author:
hendrikvanantwerpen
Message:

Removed controller dependency of Selector and SurveyList?.
Selector emits events now. No id's are used, pass objects around.
Fixed selector wipe in/out confusion for first click.
Read questions from db, no mockup data used anymore in survey page.
Added some sample question to db config, because they cannot be created yet.

Location:
Dev/branches/rest-dojo-ui/client
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client

    • Property svn:ignore set to

  • Dev/branches/rest-dojo-ui/client/config

    • Property svn:ignore
      •  

        old new  
        11.htaccess.swp
        22.index.html.swp
         3.db.js.swp
  • Dev/branches/rest-dojo-ui/client/config/db.js

    r352 r360  
    1010         'dojo/text!./docs/_users/rft_admin.json',
    1111         'dojo/text!./docs/rft/_design/default.json',
     12         'dojo/text!./docs/rft/q1.json',
     13         'dojo/text!./docs/rft/q2.json',
     14         'dojo/text!./docs/rft/q3.json',
     15         'dojo/text!./docs/rft/q4.json',
    1216         'dojo/domReady!',
    1317         'dijit/form/TextBox',
     
    1620         ],
    1721    function(json,lang,xhr,parser,query,registry,xhrPlugins,
    18         securityDoc,rft_adminDoc,design_defaultDoc){
     22        securityDoc,rft_adminDoc,design_defaultDoc,q1Doc,q2Doc,q3Doc,q4Doc){
    1923    parser.parse();
    2024
     
    112116        req('PUT','/rft/_design/default', newDoc);
    113117
     118        log("Uploading sample question documents");
     119        req('PUT','/rft/q1', json.fromJson(q1Doc));
     120        req('PUT','/rft/q2', json.fromJson(q2Doc));
     121        req('PUT','/rft/q3', json.fromJson(q3Doc));
     122        req('PUT','/rft/q4', json.fromJson(q4Doc));
     123
    114124        log("Done!");
    115125    });
Note: See TracChangeset for help on using the changeset viewer.