File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 12231223 parent = null ;
12241224 }
12251225
1226- obj = props . init || function ( ) { } ;
1226+ obj = props . init || function ( ) { } ;
12271227
1228- if ( parent ) {
1228+ if ( parent ) {
12291229 tui . util . inherit ( obj , parent ) ;
12301230 }
12311231
12321232 if ( props . hasOwnProperty ( 'static' ) ) {
1233- tui . util . extend ( obj , props . static ) ;
1234- delete props . static ;
1233+ tui . util . extend ( obj , props [ ' static' ] ) ;
1234+ delete props [ ' static' ] ;
12351235 }
12361236
12371237 tui . util . extend ( obj . prototype , props ) ;
12381238
12391239 return obj ;
12401240 } ;
1241-
12421241} ) ( window . tui ) ;
12431242
12441243/**********
Original file line number Diff line number Diff line change 6262 parent = null ;
6363 }
6464
65- obj = props . init || function ( ) { } ;
65+ obj = props . init || function ( ) { } ;
6666
67- if ( parent ) {
67+ if ( parent ) {
6868 tui . util . inherit ( obj , parent ) ;
6969 }
7070
7171 if ( props . hasOwnProperty ( 'static' ) ) {
72- tui . util . extend ( obj , props . static ) ;
73- delete props . static ;
72+ tui . util . extend ( obj , props [ ' static' ] ) ;
73+ delete props [ ' static' ] ;
7474 }
7575
7676 tui . util . extend ( obj . prototype , props ) ;
7777
7878 return obj ;
7979 } ;
80-
8180} ) ( window . tui ) ;
You can’t perform that action at this time.
0 commit comments