File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,20 @@ var ThreeModel = require('../_base/Three').ThreeModel;
12
12
13
13
var RendererModel = RenderableModel . extend ( {
14
14
15
- defaults : _ . extend ( { } , RenderableModel . prototype . defaults , {
16
-
17
- _view_name : 'RendererView' ,
18
- _model_name : 'RendererModel' ,
19
-
20
- scene : null ,
21
- camera : null ,
22
- controls : [ ] ,
23
- effect : null ,
24
- background : "black" ,
25
- background_opacity : 1.0 ,
26
-
27
- } ) ,
15
+ defaults : function ( ) {
16
+ return _ . extend ( RenderableModel . prototype . defaults . call ( this ) , {
17
+
18
+ _view_name : 'RendererView' ,
19
+ _model_name : 'RendererModel' ,
20
+
21
+ scene : null ,
22
+ camera : null ,
23
+ controls : [ ] ,
24
+ effect : null ,
25
+ background : "black" ,
26
+ background_opacity : 1.0 ,
27
+ } ) ;
28
+ } ,
28
29
29
30
initialize : function ( attributes , options ) {
30
31
RenderableModel . prototype . initialize . apply ( this , arguments ) ;
You can’t perform that action at this time.
0 commit comments