(bkgd)
| 50 | |
| 51 | |
| 52 | function interpretBackground(bkgd) { |
| 53 | if (typeof(bkgd) != 'string') return '' |
| 54 | if (bkgd.match(/^(https?:)?\/\/?/)) { // support http, https, protocol relative, site relative |
| 55 | return { 'url': bkgd } |
| 56 | } else { // for now we'll trust it's a color |
| 57 | return { 'color': bkgd } |
| 58 | } |
| 59 | |
| 60 | } |
| 61 | |
| 62 | function extractEventFromCSVObject(orig_row) { |
| 63 |
no outgoing calls
no test coverage detected