renmae protodef.d.ts to protocol.d.ts and protocol.ts to session.ts

This commit is contained in:
Mohamed Hegazy 2015-02-15 18:49:22 -08:00
parent d9d2e99495
commit f5c1bfbca7
6 changed files with 12 additions and 10 deletions

View File

@ -94,7 +94,8 @@ var servicesSources = [
var serverSources = [
"node.d.ts",
"editorServices.ts",
"protocol.ts",
"protocol.d.ts",
"session.ts",
"server.ts"
].map(function (f) {
return path.join(serverDirectory, f);
@ -141,7 +142,8 @@ var harnessSources = [
].map(function (f) {
return path.join(unittestsDirectory, f);
})).concat([
"protocol.ts",
"protocol.d.ts",
"session.ts",
"client.ts",
"editorServices.ts",
].map(function (f) {

View File

@ -16,7 +16,7 @@
/// <reference path='..\services\services.ts' />
/// <reference path='..\services\shims.ts' />
/// <reference path='..\server\protocol.ts' />
/// <reference path='..\server\session.ts' />
/// <reference path='..\server\client.ts' />
/// <reference path='..\server\node.d.ts' />
/// <reference path='external\mocha.d.ts'/>

View File

@ -1,4 +1,4 @@
/// <reference path="protocol.ts" />
/// <reference path="session.ts" />
module ts.server {

View File

@ -1,5 +1,5 @@
/// <reference path="node.d.ts" />
/// <reference path="protocol.ts" />
/// <reference path="session.ts" />
module ts.server {
var nodeproto: typeof NodeJS._debugger = require('_debugger');

View File

@ -1,7 +1,7 @@
/// <reference path="..\compiler\commandLineParser.ts" />
/// <reference path="..\services\services.ts" />
/// <reference path="node.d.ts" />
/// <reference path="protodef.d.ts" />
/// <reference path="protocol.d.ts" />
/// <reference path="editorServices.ts" />
module ts.server {
@ -587,13 +587,13 @@ module ts.server {
var compilerService = project.compilerService;
return items.map(item => ({
text: item.text,
kind: item.kind,
kindModifiers: item.kindModifiers,
text: item.text,
kind: item.kind,
kindModifiers: item.kindModifiers,
spans: item.spans.map(span => ({
start: compilerService.host.positionToLineCol(fileName, span.start),
end: compilerService.host.positionToLineCol(fileName, ts.textSpanEnd(span))
})),
})),
childItems: this.decorateNavigationBarItem(project, fileName, item.childItems)
}));
}