mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
prevent creation of _defineProperty() function
This commit is contained in:
parent
eff92c3152
commit
986b8f056b
8 changed files with 24 additions and 57 deletions
|
|
@ -23,14 +23,13 @@ function typeCast(curValue, newValue) {
|
|||
}
|
||||
|
||||
export class AbstractModel {
|
||||
subscribables = [];
|
||||
|
||||
constructor() {
|
||||
/*
|
||||
if (new.target === AbstractModel) {
|
||||
throw new Error("Can't instantiate AbstractModel!");
|
||||
}
|
||||
*/
|
||||
this.subscribables = [];
|
||||
}
|
||||
|
||||
addObservables(observables) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue