aurelia-bootstrap-datetimepicker
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -299,3 +299,5 @@ define(['exports', 'aurelia-framework', 'moment', 'jquery', './picker-global-options', 'eonasdan-bootstrap-datetimepicker'], function (exports, _aureliaFramework, _moment, _jquery, _pickerGlobalOptions) { | ||
AbpDatetimePickerCustomElement.prototype.detached = function detached() { | ||
this.domElm.data('DateTimePicker').destroy(); | ||
if (this.domElm && this.domElm.data('DateTimePicker') && this.domElm.data('DateTimePicker').destroy) { | ||
this.domElm.data('DateTimePicker').destroy(); | ||
} | ||
}; | ||
@@ -302,0 +304,0 @@ |
@@ -300,3 +300,5 @@ 'use strict'; | ||
AbpDatetimePickerCustomElement.prototype.detached = function detached() { | ||
this.domElm.data('DateTimePicker').destroy(); | ||
if (this.domElm && this.domElm.data('DateTimePicker') && this.domElm.data('DateTimePicker').destroy) { | ||
this.domElm.data('DateTimePicker').destroy(); | ||
} | ||
}; | ||
@@ -303,0 +305,0 @@ |
@@ -268,3 +268,5 @@ var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15; | ||
detached() { | ||
this.domElm.data('DateTimePicker').destroy(); | ||
if (this.domElm && this.domElm.data('DateTimePicker') && this.domElm.data('DateTimePicker').destroy) { | ||
this.domElm.data('DateTimePicker').destroy(); | ||
} | ||
} | ||
@@ -271,0 +273,0 @@ |
@@ -301,3 +301,5 @@ 'use strict'; | ||
AbpDatetimePickerCustomElement.prototype.detached = function detached() { | ||
this.domElm.data('DateTimePicker').destroy(); | ||
if (this.domElm && this.domElm.data('DateTimePicker') && this.domElm.data('DateTimePicker').destroy) { | ||
this.domElm.data('DateTimePicker').destroy(); | ||
} | ||
}; | ||
@@ -304,0 +306,0 @@ |
{ | ||
"name": "aurelia-bootstrap-datetimepicker", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "An Aurelia Custom Element for the 3rd party addon [Eonasdan Bootstrap Datepicker]", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -294,3 +294,5 @@ import {inject, bindable, bindingMode, DOM} from 'aurelia-framework'; | ||
detached() { | ||
this.domElm.data('DateTimePicker').destroy(); | ||
if (this.domElm && this.domElm.data('DateTimePicker') && this.domElm.data('DateTimePicker').destroy) { | ||
this.domElm.data('DateTimePicker').destroy(); | ||
} | ||
} | ||
@@ -297,0 +299,0 @@ |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
0
113968
37
2046