Skip to content

Commit

Permalink
Updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lvcabral committed Jan 20, 2025
1 parent 70fb259 commit 28a95f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/brsTypes/components/RoSGNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1783,7 +1783,7 @@ export function createNodeByType(interpreter: Interpreter, type: BrsString): RoS
// Start from the "basemost" component of the tree.
typeDef = typeDefStack.pop();

// If this extends a built-in component, create it.
// If this extends a built-in node component, create it.
let node = NodeFactory.createComponent(typeDef!.extends as BrsNodeType, type.value);

// Default to Node as parent.
Expand Down
2 changes: 1 addition & 1 deletion src/parser/ComponentScopeResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class ComponentScopeResolver {

let currentComponent: ComponentDefinition | undefined = component;
while (currentComponent.extends) {
// If this is a built-in component, then no work is needed and we can return.
// If this is a built-in node component, then no work is needed and we can return.
if (NodeFactory.canResolveComponentType(currentComponent.extends)) {
return Promise.resolve();
}
Expand Down

0 comments on commit 28a95f9

Please sign in to comment.