Skip to content

Commit b016d2a

Browse files
committed
Added comments
1 parent 29d3a1e commit b016d2a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/views/examples/exampleBrowser.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export class ExampleBrowser implements TreeDataProvider<any> {
6161
}
6262

6363
async getChildren(element?: ExampleGroupItem): Promise<any[]> {
64+
// Unlike the bulk of the examples which are defined in views/examples/index.ts, the services examples are retrieved dynamically
6465
if (!Examples[ServiceInfoLabel]) {
6566
getServiceInfo().then(serviceExamples => {
6667
Examples[ServiceInfoLabel] = serviceExamples;

src/views/examples/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ export interface SQLExample {
1313
requirements?: ExampleSystemRequirements;
1414
};
1515

16-
export const ServiceInfoLabel = `IBM i (SQL) Services`;
16+
// Unlike the bulk of the examples defined below, the services examples are retrieved dynamically
17+
export const ServiceInfoLabel = `IBM i (SQL) Services`;
1718

1819
export let Examples: SQLExamplesList = {
1920
"Data Definition Language (DDL)": [

0 commit comments

Comments
 (0)