-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.js
More file actions
35 lines (30 loc) · 946 Bytes
/
Copy pathconfig.js
File metadata and controls
35 lines (30 loc) · 946 Bytes
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
window.config = {
// the url of the DonorDrive API you wish to poll
api: 'https://docs.donordrive.com/api/',
// the resource (events, participants, teams)
resource: 'participants',
// the ID of the specific resource to poll
resourceID: 2065,
// properties specific to donation-ticker
donationTicker: {
// Donation date mask/format
dateMask: 'MM/DD/YYYY hh:mm a',
// the duration (in seconds) the "new" badge will display next to a donation
highlightDuration: 60,
// donations over this amount will be highlighted in the list (null to ignore highlighting)
highlightThreshold: 100,
// the number of donations to return (1-100)
listLimit: 25
},
// properties specific to top-donors
topDonors: {
// date mask/format
dateMask: 'MM/DD/YYYY hh:mm a',
// the number of donors to return (1-100)
listLimit: 25
},
// properties specific to streaming-thermometer
streamingThermometer: {
showDonations: true
}
};