From 8359605951524d93580e073e8e2cf397d0505193 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Sat, 13 Jul 2019 19:54:01 -0700 Subject: [PATCH] Add license and credit to VS Code --- README.md | 2 ++ src/common/services/InstantiationService.ts | 6 ++++++ src/common/services/ServiceRegistry.ts | 6 ++++++ 3 files changed, 14 insertions(+) diff --git a/README.md b/README.md index d01a0f337..0b4c64b91 100644 --- a/README.md +++ b/README.md @@ -185,3 +185,5 @@ If you contribute code to this project, you are implicitly allowing your code to Copyright (c) 2017-2019, [The xterm.js authors](https://github.com/xtermjs/xterm.js/graphs/contributors) (MIT License)
Copyright (c) 2014-2017, SourceLair, Private Company ([www.sourcelair.com](https://www.sourcelair.com/home)) (MIT License)
Copyright (c) 2012-2013, Christopher Jeffrey (MIT License) + +Some files in this code base are heavily influenced on implementations in [Visual Studio Code](https://github.com/Microsoft/vscode) (MIT License). diff --git a/src/common/services/InstantiationService.ts b/src/common/services/InstantiationService.ts index fb846e7a8..98c23b6e4 100644 --- a/src/common/services/InstantiationService.ts +++ b/src/common/services/InstantiationService.ts @@ -1,7 +1,13 @@ /** * Copyright (c) 2019 The xterm.js authors. All rights reserved. * @license MIT + * + * This was heavily inspired from microsoft/vscode's dependency injection system (MIT). */ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ import { IInstantiationService, IServiceIdentifier } from 'common/services/Services'; import { getServiceDependencies } from 'common/services/ServiceRegistry'; diff --git a/src/common/services/ServiceRegistry.ts b/src/common/services/ServiceRegistry.ts index 2d7ed8113..450af4924 100644 --- a/src/common/services/ServiceRegistry.ts +++ b/src/common/services/ServiceRegistry.ts @@ -1,7 +1,13 @@ /** * Copyright (c) 2019 The xterm.js authors. All rights reserved. * @license MIT + * + * This was heavily inspired from microsoft/vscode's dependency injection system (MIT). */ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ import { IServiceIdentifier } from 'common/services/Services';