after i added an event model
class MyEvent extends EventModel {
static get fields() {
return [{
name: "startDate",
dataSource: "ddeb"
},
{
name: "endDate",
dataSource: "dfin"
},
{
name: "resourceId",
dataSource: "mmat"
},
{
name: "type",
dataSource: "mmotif"
},
];
}
};
scheduler.module.js?8ef5:9 Uncaught TypeError: _0x5b7cf5[_0x2009(...)] is not a function
at Function.diff (scheduler.module.js?8ef5:9)
at _0x39e37d.value (scheduler.module.js?8ef5:9)
at _0x39e37d.value (scheduler.module.js?8ef5:9)
at _0x39e37d.Base (scheduler.module.js?8ef5:9)
at _0x39e37d.ModelStm (scheduler.module.js?8ef5:9)
at _0x39e37d.Model (scheduler.module.js?8ef5:9)
at _0x39e37d.TimeSpan (scheduler.module.js?8ef5:9)
at _0x39e37d.EventModel (scheduler.module.js?8ef5:9)
at _0x39e37d.MyEvent (schedulerConfig.js?054d:46)
at new _0x39e37d (scheduler.module.js?8ef5:9)