mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-15 03:04:37 +03:00
19 lines
520 B
CoffeeScript
19 lines
520 B
CoffeeScript
# Start the crash reporter before anything else.
|
|
require('crash-reporter').start(productName: 'Atom', companyName: 'GitHub')
|
|
|
|
try
|
|
require '../src/window'
|
|
Atom = require '../src/atom'
|
|
window.atom = new Atom()
|
|
window.atom.show() unless atom.getLoadSettings().exitWhenDone
|
|
{runSpecSuite} = require './jasmine-helper'
|
|
|
|
document.title = "Spec Suite"
|
|
runSpecSuite './spec-suite'
|
|
catch error
|
|
if atom?.getLoadSettings().exitWhenDone
|
|
console.error(error.stack ? error)
|
|
atom.exit(1)
|
|
else
|
|
throw error
|