tsfmt - src

This commit is contained in:
Johannes Rieken
2016-10-08 09:53:13 +02:00
parent c2c86bef86
commit 6681a2a7d6
998 changed files with 18491 additions and 18442 deletions

View File

@@ -5,7 +5,7 @@
'use strict';
import {onUnexpectedError} from 'vs/base/common/errors';
import { onUnexpectedError } from 'vs/base/common/errors';
import { TPromise } from 'vs/base/common/winjs.base';
import { ExtensionHostMain, IInitData, exit } from 'vs/workbench/node/extensionHostMain';
import { create as createIPC, IMainProcessExtHostIPC } from 'vs/platform/extensions/common/ipcRemoteCom';
@@ -18,7 +18,7 @@ interface IRendererConnection {
// This calls exit directly in case the initialization is not finished and we need to exit
// Otherwise, if initialization completed we go to extensionHostMain.terminate()
let onTerminate = function() {
let onTerminate = function () {
exit();
};
@@ -68,7 +68,7 @@ function connectToRenderer(): TPromise<IRendererConnection> {
});
// Print a console message when an exception isn't handled.
process.on('uncaughtException', function(err) {
process.on('uncaughtException', function (err) {
onUnexpectedError(err);
});
@@ -82,7 +82,7 @@ function connectToRenderer(): TPromise<IRendererConnection> {
}, 5000);
// Check stats
setInterval(function() {
setInterval(function () {
if (stats.length >= 250) {
let total = stats.reduce((prev, current) => prev + current, 0);
console.warn(`MANY messages are being SEND FROM the extension host!`);