Exported necessary members back.

This commit is contained in:
Michel Kaporin
2017-04-05 16:22:22 +02:00
parent d180307676
commit aad3068815
2 changed files with 3 additions and 2 deletions

View File

@@ -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) {

View File

@@ -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')) {