Last change
on this file since 276 was
276,
checked in by tjcschipper, 13 years ago
|
Laatste versie van de 'oude' dashboard interface.
|
File size:
719 bytes
|
Line | |
---|
1 | $(function() { |
---|
2 | |
---|
3 | var mockData = { |
---|
4 | age: [ |
---|
5 | { |
---|
6 | text: "What is your age?", |
---|
7 | type: "Number", |
---|
8 | uid: "12345" |
---|
9 | }, |
---|
10 | { |
---|
11 | text: "Enter your birthdate", |
---|
12 | type: "Date", |
---|
13 | uid: "abcdefgh" |
---|
14 | } |
---|
15 | ], |
---|
16 | gender: [ |
---|
17 | { |
---|
18 | text: "Are you male or female?", |
---|
19 | type: "Choice", |
---|
20 | uid: "1337" |
---|
21 | }, |
---|
22 | { |
---|
23 | text: "Please choose your sex.", |
---|
24 | type: "Choice", |
---|
25 | uid: "65516551" |
---|
26 | } |
---|
27 | ] |
---|
28 | }; |
---|
29 | |
---|
30 | $(function initMenu() { |
---|
31 | window.questionMenu = new QuestionMenu(); |
---|
32 | questionMenu.loadContents(mockData); |
---|
33 | }); |
---|
34 | |
---|
35 | |
---|
36 | }) |
---|
Note: See
TracBrowser
for help on using the repository browser.