@@ -52,7 +52,7 @@ class View {
5252 transformEvents ( events ) {
5353 if ( typeof this . config . transform === "function" ) {
5454 return events . map ( ( e ) => {
55- const event = { ...e } ;
55+ const event = { ...e } ;
5656 return this . config . transform ( event ) ;
5757 } ) ;
5858 }
@@ -86,7 +86,7 @@ class View {
8686 }
8787
8888 filterEvents ( events ) {
89- const { calendars } = this ;
89+ const { calendars} = this ;
9090 const calendarFilter =
9191 Array . isArray ( calendars ) && calendars . length > 0
9292 ? ( e ) => calendars . indexOf ( e . calendarName ) >= 0
@@ -123,7 +123,7 @@ class View {
123123
124124 drawDom ( ) {
125125 const container = View . getRegionDom ( this . config . position ) ;
126- const { children } = container ;
126+ const { children} = container ;
127127 const order = this . config . positionOrder ;
128128 if ( order === - 1 ) {
129129 container . appendChild ( this . moduleDom ) ;
@@ -200,7 +200,7 @@ class View {
200200 makeModuleTitle ( ) {
201201 if ( ! this . config . title ) return ;
202202 const headerTitle = this . moduleDom . getElementsByClassName ( "module-header" ) ;
203- const slotStart = { ...this . slots [ 0 ] . start } ;
203+ const slotStart = { ...this . slots [ 0 ] . start } ;
204204 let title ;
205205 if ( typeof this . config . title === "function" ) {
206206 title = this . config . title ( moment ( slotStart ) ) ;
@@ -306,7 +306,7 @@ class View {
306306 }
307307
308308 getStartDay ( ) {
309- const { fromNow } = this . config ;
309+ const { fromNow} = this . config ;
310310 const now = moment ( ) . locale ( this . locale ) ;
311311 return now . add ( fromNow , this . slotUnit ) . startOf ( "day" ) ;
312312 }
0 commit comments