mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Exported necessary members back.
This commit is contained in:
@@ -580,6 +580,7 @@ function getResource(sourceFile) {
|
||||
}
|
||||
throw new Error("Could not identify the XLF bundle for " + sourceFile);
|
||||
}
|
||||
exports.getResource = getResource;
|
||||
function importBundleJson(file, json, stream) {
|
||||
var bundleXlfs = Object.create(null);
|
||||
for (var source in json.keys) {
|
||||
|
||||
@@ -31,7 +31,7 @@ interface Item {
|
||||
comment: string;
|
||||
}
|
||||
|
||||
interface Resource {
|
||||
export interface Resource {
|
||||
name: string;
|
||||
project: string;
|
||||
}
|
||||
@@ -621,7 +621,7 @@ const editorWorkbenchResources: Resource[] = [
|
||||
{ name: 'setup', project: workbenchProject }
|
||||
];
|
||||
|
||||
function getResource(sourceFile: string): Resource {
|
||||
export function getResource(sourceFile: string): Resource {
|
||||
let resource: string;
|
||||
|
||||
if (sourceFile.startsWith('vs/platform')) {
|
||||
|
||||
Reference in New Issue
Block a user