forked from elinorbengayev/elinorbengayev.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqamp_ex1.js
67 lines (64 loc) · 2.35 KB
/
qamp_ex1.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
define(['pipAPI', 'https://elinorbengayev.github.io/qamp.js'], function(APIConstructor, ampExtension){
//https://cdn.jsdelivr.net/gh/baranan/minno-tasks@0.*/amp/amp4.js
var API = new APIConstructor();
var global = API.getGlobal();
return ampExtension({
primeCats : [
{
nameForFeedback : 'positive', //Will be used in the user feedback
nameForLogging : 'positive', //Will be used in the logging
//An array of all media objects for this category.
mediaArray : [
{image: 'pos1.jpg'},
{image: 'pos2.jpg'},
{image: 'pos3.jpg'},
{image: 'pos4.jpg'},
{image: 'pos5.jpg'},
{image: 'pos6.jpg'},
{image: 'pos7.jpg'},
{image: 'pos8.jpg'},
{word: 'Paradise'},
{word: 'Pleasure'},
{word: 'Cheer'},
{word: 'Splendid'},
{word: 'Love'},
{word: 'Smile'},
{word: 'Friend'},
{word: 'Enjoy'}
]
},
{
nameForFeedback : 'negative', //Will be used in the user feedback
nameForLogging : 'negative', //Will be used in the logging
//An array of all media objects for this category.
mediaArray : [
{image: 'neg1.jpg'},
{image: 'neg2.jpg'},
{image: 'neg3.jpg'},
{image: 'neg4.jpg'},
{image: 'neg5.jpg'},
{image: 'neg6.jpg'},
{image: 'neg7.jpg'},
{image: 'neg8.jpg'},
{word: 'Bomb'},
{word: 'Abuse'},
{word: 'Sadness'},
{word: 'Pain'},
{word: 'Grief'},
{word: 'Ugly'},
{word: 'Poison'},
{word: 'Stink'}]
}
],
examplePrimeStimulus :
{
nameForLogging : 'examplePrime', //Will be used in the logging
//An array of all media objects for this category.
//mediaArray : [{word : 'Table'}, {word : 'Chair'}]
mediaArray : [{image : 'ampchair.jpg'}, {image : 'amplamp.jpg'}, {image : 'ampumbrella.jpg'}]
},
base_url : {//Where are your images at?
image : 'https://elinorbengayev.github.io/images/'
}
});
});