Joeri de Gooijer pushed to branch feature/webpack at cms-community / hippo-addon-channel-manager
Commits: 31397064 by Joeri de Gooijer at 2016-10-11T10:30:25+02:00 CHANNELMGR-863 Fix some export errors - - - - - 1 changed file: - frontend-ng/src/angularjs/channel/page/element/componentElement.js Changes: ===================================== frontend-ng/src/angularjs/channel/page/element/componentElement.js ===================================== --- a/frontend-ng/src/angularjs/channel/page/element/componentElement.js +++ b/frontend-ng/src/angularjs/channel/page/element/componentElement.js @@ -14,13 +14,13 @@ * limitations under the License. */ -/* eslint-disable prefer-const */ - import PageStructureElement from './pageStructureElement'; class ComponentElement extends PageStructureElement { constructor(startCommentDomElement, metaData, container, commentProcessor) { - let [boxDomElement, endCommentDomElement] = commentProcessor.locateComponent(metaData.uuid, startCommentDomElement); + const elements = commentProcessor.locateComponent(metaData.uuid, startCommentDomElement); + const endCommentDomElement = elements[1]; + let boxDomElement = elements[0]; if (!PageStructureElement.isXTypeNoMarkup(container.metaData)) { boxDomElement = startCommentDomElement.parentNode; View it on GitLab: https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/3139706477990bdefa86c1553d53aea4d0f6434d
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn