(arg)
| 27 | |
| 28 | // Messages are sent to the parent by appending them to the tempfile. |
| 29 | var sendMessage = function(arg) { |
| 30 | var args = Array.isArray(arg) ? arg : [].slice.call(arguments); |
| 31 | last = new Date(); |
| 32 | fs.write(tmpfile, JSON.stringify(args) + '\n', 'a'); |
| 33 | }; |
| 34 | |
| 35 | // This allows grunt to abort if the PhantomJS version isn't adequate. |
| 36 | sendMessage('private', 'version', phantom.version); |
no outgoing calls
no test coverage detected