layout/Panels is missing its dependency on enyo/Control

Description

layout/Panels relies on enyo/Control as the default super kind rather than specifying it. As a result, the following code errors because enyo/Control is never required which provides the setLayoutKind method (via UiComponent).

1 2 3 4 5 6 7 8 9 10 11 12 13 14 var Panels = require('layout/Panels'); module.exports = Panels.kind({ name: "pages", fit: true, draggable: true, components: [ {content: "Page 1"}, {content: "Page 2"}, {content: "Page 3"}, {content: "Page 4"} ] });

Environment

Any

Status

Assignee

Ryan Duffy

Reporter

Ryan Duffy

Labels

None

External issue ID

None

Tango Test Run Elements

None

Old Issue Key

None

Components

Affects versions

2.6
Future

Priority

None