example-mailbox: v1

This commit is contained in:
Yoshua Wuyts
2016-05-12 13:49:29 +07:00
parent 3655c488c2
commit 049d8f0cee
11 changed files with 151 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
module.exports = {
state: {
messages: [
{
id: 1,
subject: 'Welcome to Ember',
from: 'tomster@emberjs.com',
to: 'user@example.com',
date: new Date(),
body: 'Welcome to Ember. We hope you enjoy your stay'
}, {
id: 2,
subject: 'Great Ember Resources',
from: 'tomster@emberjs.com',
to: 'user@example.com',
date: new Date(),
body: 'Have you seen embercasts.com? How about emberaddons.com?'
}
]
},
reducers: { }
}
View File
+15
View File
@@ -0,0 +1,15 @@
module.exports = {
state: {
messages: [
{
id: 3,
subject: 'You have one the lottery!!!111ONEONE',
from: '419@thereallotteryhonest.com',
to: 'user@example.com',
date: new Date(),
body: 'You have ONE the lottery! You only have to send us a small amount of monies to claim your prize'
}
]
},
reducers: { }
}