forked from logzio/fed-exercise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrepo.js
30 lines (29 loc) · 1.09 KB
/
repo.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
var comments = [
{
created: '',
email: '[email protected]',
avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/adhamdannaway/128.jpg',
text: 'Wow, this is really amazing!!'
},{
created: '',
email: '[email protected]',
avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/dancounsell/128.jpg',
text: 'I read the article and found it really interesting, but I have some questions regarding some of the subjects you mentioned. When will be a good time to contact you so we can discuss these important issues? It is really important for me to understand this fully before I continue.'
},{
created: '',
email: '[email protected]',
avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/rem/128.jpg',
text: 'So... very nice indeed'
},{
created: '',
email: '[email protected]',
avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/brad_frost/128.jpg',
text: 'blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah '
},
];
module.exports = {
all: comments,
add: function(comment){
comments.unshift(comment);
}
};