1234567891011121314151617181920212223242526272829303132 |
- "use strict";
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
- define([], function () {
- var ContentActionUtil = function () {
- function ContentActionUtil() {
- _classCallCheck(this, ContentActionUtil);
- }
- ContentActionUtil.getNodes = function getNodes(controller, idList) {
- var nodes = [];
- idList.forEach(function (id) {
- var layoutView = controller.layoutController.getLayoutView(id);
- if (layoutView && layoutView.domNode) {
- nodes.push(layoutView.domNode);
- }
- });
- return nodes;
- };
- return ContentActionUtil;
- }();
- return ContentActionUtil;
- });
|