atom/metrics — pull request #28 by kevinsawicki (2014-09-09 16:26:12+00:00)
Title: Use ajax request

Doing an `https.request` seems to run synchronous code that creates a secure context which appears to take long periods of time on certain machines.

So switch to just use an ajax request which appears to not impact start time at all and check the `navigator.onLine` property before sending to prevent offline errors from showing up in the console

Closes #27