-
-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade vscode-css-languageservice. Fix #1274
- Loading branch information
Showing
6 changed files
with
61 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/*--------------------------------------------------------------------------------------------- | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for license information. | ||
*--------------------------------------------------------------------------------------------*/ | ||
|
||
import { | ||
CSSDataV1, | ||
IPropertyData, | ||
IAtDirectiveData, | ||
IPseudoClassData, | ||
IPseudoElementData | ||
} from 'vscode-css-languageservice'; | ||
|
||
export interface LoadedCSSData { | ||
properties: IPropertyData[]; | ||
atDirectives: IAtDirectiveData[]; | ||
pseudoClasses: IPseudoClassData[]; | ||
pseudoElements: IPseudoElementData[]; | ||
} | ||
|
||
const rawData: CSSDataV1 = require('vscode-css-languageservice/lib/umd/data/browsers').cssData; | ||
|
||
export const cssData: LoadedCSSData = { | ||
properties: rawData.properties || [], | ||
atDirectives: rawData.atDirectives || [], | ||
pseudoClasses: rawData.pseudoClasses || [], | ||
pseudoElements: rawData.pseudoElements || [] | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters