missing generated .js and .map files, until we generate them via Grunt

This commit is contained in:
Ralf Becker
2020-01-23 08:53:13 +01:00
committed by Hadi Nategh
parent ec7f8931b2
commit 0b50545cc1
15 changed files with 16 additions and 18 deletions

View File

@ -106,7 +106,7 @@ var et2_DOMWidget = /** @class */ (function (_super) {
* DOM-Tree using the attachToDOM method.
*/
et2_DOMWidget.prototype.detachFromDOM = function () {
if (this._attachSet.node && this._attachSet.parent) {
if (this._attachSet && this._attachSet.node && this._attachSet.parent) {
// Remove the current node from the parent node
try {
this._attachSet.parent.removeChild(this._attachSet.node);
@ -132,7 +132,7 @@ var et2_DOMWidget = /** @class */ (function (_super) {
// Attach the DOM node of this widget (if existing) to the new parent
var node = this.getDOMNode(this);
if (node && this.parentNode &&
(node != this._attachSet.node ||
(!this._attachSet || this._attachSet && node != this._attachSet.node ||
this.parentNode != this._attachSet.parent)) {
// If the surroundings manager exists, surround the DOM-Node of this
// widget with the DOM-Nodes inside the surroundings manager.
@ -745,4 +745,5 @@ var et2_action_object_impl = /** @class */ (function () {
};
return et2_action_object_impl;
}());
exports.et2_action_object_impl = et2_action_object_impl;
//# sourceMappingURL=et2_core_DOMWidget.js.map