@syncfusion/ej2-base
Advanced tools
Comparing version 15.4.20 to 15.4.21
@@ -46,5 +46,2 @@ var __extends = (this && this.__extends) || (function () { | ||
onIntlChange.on('notifyExternalChange', _this.detectFunction, _this); | ||
if (_this.enablePersistence) { | ||
window.addEventListener('unload', _this.setPersistData.bind(_this)); | ||
} | ||
if (!isUndefined(selector)) { | ||
@@ -104,6 +101,10 @@ _this.appendTo(); | ||
if (!isNullOrUndefined(this.element)) { | ||
this.isProtectedOnChange = false; | ||
if (this.enablePersistence) { | ||
this.mergePersistData(); | ||
window.addEventListener('unload', this.setPersistData.bind(this)); | ||
} | ||
if (this.needsID && !this.element.id) { | ||
this.element.id = getUniqueID(this.getModuleName()); | ||
} | ||
this.isProtectedOnChange = false; | ||
var inst = getValue('ej2_instances', this.element); | ||
@@ -114,5 +115,2 @@ if (!inst || inst.indexOf(this) === -1) { | ||
this.preRender(); | ||
if (this.enablePersistence) { | ||
this.mergePersistData(); | ||
} | ||
this.injectModules(); | ||
@@ -119,0 +117,0 @@ this.render(); |
{ | ||
"name": "@syncfusion/ej2-base", | ||
"version": "15.4.20", | ||
"version": "15.4.21", | ||
"description": "Essential JS 2 Base Library", | ||
@@ -5,0 +5,0 @@ "author": "Syncfusion Inc.", |
@@ -35,5 +35,2 @@ var __extends = (this && this.__extends) || (function () { | ||
internationalization_1.onIntlChange.on('notifyExternalChange', _this.detectFunction, _this); | ||
if (_this.enablePersistence) { | ||
window.addEventListener('unload', _this.setPersistData.bind(_this)); | ||
} | ||
if (!util_1.isUndefined(selector)) { | ||
@@ -83,6 +80,10 @@ _this.appendTo(); | ||
if (!util_1.isNullOrUndefined(this.element)) { | ||
this.isProtectedOnChange = false; | ||
if (this.enablePersistence) { | ||
this.mergePersistData(); | ||
window.addEventListener('unload', this.setPersistData.bind(this)); | ||
} | ||
if (this.needsID && !this.element.id) { | ||
this.element.id = util_1.getUniqueID(this.getModuleName()); | ||
} | ||
this.isProtectedOnChange = false; | ||
var inst = util_1.getValue('ej2_instances', this.element); | ||
@@ -93,5 +94,2 @@ if (!inst || inst.indexOf(this) === -1) { | ||
this.preRender(); | ||
if (this.enablePersistence) { | ||
this.mergePersistData(); | ||
} | ||
this.injectModules(); | ||
@@ -98,0 +96,0 @@ this.render(); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2642420
26845