(line)
| 109 | |
| 110 | // Parse the actor and create the object |
| 111 | var actor = function(line) { |
| 112 | var results = line.match(/^.+? (.*) (\d+) .*$/); |
| 113 | var actor = results[1]; |
| 114 | var epoch = results[2]; |
| 115 | // Return the objects |
| 116 | return [Actor.from_string(actor), new Date(parseInt(epoch) * 1000)] |
| 117 | } |
| 118 | |
| 119 | // Convert commit text to list of commits |
| 120 | Commit.list_from_string = function(repo, text) { |