nnnjjj123
2020-11-17 1b2c1edb61190eeb19f465ff031eaa3b2a1b8dbc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
define([ './createSyncStore' ], function (createSyncStore) {
    var perfData = [], today = new Date().getTime();
    // With the size of these rows, 14500 falls slightly under the magical IE height limit.
    for (var i = 0; i < 14500; i++) {
        perfData.push({
            id: i,
            integer: Math.floor(Math.random() * 100),
            floatNum: Math.random() * 100,
            date: new Date(today * Math.random() * 2),
            date2: new Date(today - Math.random() * 1000000000),
            text: 'A number in text ' + Math.random(),
            bool: Math.random() > 0.5,
            bool2: Math.random() > 0.5,
            price: Math.random() * 100,
            today: new Date(today)
        });
    }
    return createSyncStore({data: perfData});
});