Simplify and polish the code.

This commit is contained in:
Haojian Wu 2015-06-04 15:52:16 +08:00
parent 94382cbaa2
commit d5b47d1059
4 changed files with 21 additions and 35 deletions

View file

@ -45,5 +45,5 @@ describe 'crash-reporter module', ->
protocol: 'file'
pathname: path.join fixtures, 'api', 'crash.html'
search: "?port=#{port}"
crashReporter.start {'submitUrl': 'http://127.0.0.1:' + port}
crashReporter.start {'submitUrl': 'http://127.0.0.1:' + port}
w.loadUrl url