-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjs-datalayer.js
More file actions
184 lines (162 loc) · 5.31 KB
/
Copy pathjs-datalayer.js
File metadata and controls
184 lines (162 loc) · 5.31 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
var excitement = {
name: "excitement",
lead: [],
from: ["happiness"],
description: "<b>Excitement</b>: the state of being emotionally aroused and worked up; disturbance usually in protest",
tooltip: "excitement_tip"
}
var affection = {
name: "affection",
lead: [],
from: ["love"],
description: "<b>Affection</b>: a positive feeling of liking",
tooltip: "affection_tip"
}
var fustration = {
name: "fustration",
lead: [],
from: ["angry"],
description: "",
tooltip: "fustration_tip"
}
var hate = {
name: "hate",
lead: [""],
from: ["jealousy"],
description: "<b>Hate</b>: the emotion of hate; a feeling of dislike so strong that it demands action; verb dislike intensely; feel antipathy or aversion towards",
tooltip: "hate_tip"
}
var faith = {
name: "faith",
lead: ["confident"],
from: [""],
description: "<b>Faith</b>: loyalty or allegiance to a cause or a person; complete confidence in a person or plan etc",
tooltip: "faith_tip"
}
var jealousy = {
name: "jealousy",
lead: ["sad","hate","regret"],
from: ["desperation"],
description: "<b>Jealousy</b>: zealous vigilance; a feeling of jealous envy (especially of a rival)",
tooltip: "jealousy_tip"
}
var sad = {
name: "sad",
lead: [],
from: ["jealousy"],
description: "<b>Sad</b>: experiencing or showing sorrow or unhappiness; of things that make you feel sad",
tooltip: "sad_tip"
}
var angry = {
name: "angry",
lead: ["fustration"],
from: ["aggitation"],
description: "<b>Angry</b>: feeling or showing anger; (of the elements) as if showing violent anger",
tooltip: "angry_tip"
}
var happiness = {
name: "happiness",
lead: ["excitement","positivity","confident"],
from: ["love","positivity","confident"],
description: "<b>Happiness</b>: emotions experienced when in a state of well-being; state of well-being characterized by emotions ranging from contentment to intense joy",
tooltip: "happiness_tip"
}
var regret = {
name: "regret",
lead: [],
from: ["jealousy"],
description: "<b>Regret</b>: sadness associated with some wrong done or some disappointment; verb be sorry",
tooltip: "regret_tip"
}
var desperation = {
name: "desperation",
lead: ["jealousy"],
from: [],
description: "<b>Desperation</b>: desperate recklessness; a state in which everything seems wrong and will turn out badly",
tooltip: "desperation_tip"
}
var attraction = {
name: "attraction",
lead: ["love"],
from: [""],
description: "<b>Attraction</b>: the quality of arousing interest; being attractive or something that attracts; a characteristic that provides pleasure and attracts",
tooltip: "attraction_tip"
}
var positivity = {
name: "positivity",
lead: ["happiness"],
from: ["happiness"],
description: "<b>Positivity</b>: an amount greater than zero; a quality or state characterized by certainty or acceptance or affirmation and dogmatic assertiveness",
tooltip: "positivity_tip"
}
var admiration = {
name: "admiration",
lead: ["love"],
from: [""],
description: "<b>Admiration</b>: a favorable judgment; a feeling of delighted approval and liking",
tooltip: "admiration_tip"
}
var love = {
name: "love",
lead: ["affection","lust","longing","happiness"],
from: ["attraction","admiration","care"],
description: "<b>Love</b>: any object of warm affection or devotion; a deep feeling of sexual desire and attraction",
tooltip: "love_tip"
}
var lust = {
name: "lust",
lead: [""],
from: ["love"," admiration"],
description: "<b>Lust</b>: self-indulgent sexual desire (personified as one of the deadly sins); a strong sexual desire",
tooltip: "lust_tip"
}
var happy = {
name: "happy",
lead: [""],
from: [""],
description: "",
tooltip: "happy_tip"
}
var confident = {
name: "confident",
lead: ["happiness","successful"],
from: ["happiness","faith"],
description: "<b>Confident</b>: not liable to error in judgment or action; having or marked by confidence or assurance",
tooltip: "confident_tip"
}
var care = {
name: "care",
lead: ["love"],
from: ["admiration"],
description: "<b>Care</b>: activity involved in maintaining something in good working order; the work of providing treatment for or attending to someone or something",
tooltip: "care_tip"
}
var successful = {
name: "successful",
lead: [],
from: ["confident"],
description: "<b>Successful</b>: having succeeded or being marked by a favorable outcome",
tooltip: "successful_tip"
}
var longing = {
name: "longing",
lead: [""],
from: ["love"],
description: "<b>Longing</b>: prolonged unfulfilled desire or need",
tooltip: "longing_tip"
}
var aggitation = {
name: "aggitation",
lead: ["angry"],
from: [],
description: "",
tooltip: "aggitation_tip"
}
var emotion = [excitement, affection, fustration, hate, faith, jealousy, sad, angry, happiness, regret, desperation, attraction, positivity, admiration, love, lust, happy, confident, care, successful, longing, aggitation];
var emotions = new Array();
var tempEmoArray = new Array();
var lineRecord = new Array();
// element.lead.sort(function(a,b){
// if(a.name < b.name) return -1;
// if(a.name > b.name) return 1;
// });