File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 406
406
}
407
407
408
408
if ( klass . $$dep ) {
409
- Opal . donate ( klass , methods . slice ( ) , true ) ;
409
+ donate_methods ( klass , methods . slice ( ) , true ) ;
410
410
}
411
411
412
412
Opal . donate_constants ( module , klass ) ;
885
885
/*
886
886
* Donate methods for a class/module
887
887
*/
888
- Opal . donate = function ( klass , defined , indirect ) {
888
+ function donate_methods ( klass , defined , indirect ) {
889
889
var methods = klass . $$methods , included_in = klass . $$dep ;
890
890
891
891
// if (!indirect) {
905
905
}
906
906
907
907
if ( includee . $$dep ) {
908
- Opal . donate ( includee , defined , true ) ;
908
+ donate_methods ( includee , defined , true ) ;
909
909
}
910
910
}
911
911
}
947
947
}
948
948
949
949
if ( includee . $$dep ) {
950
- Opal . donate ( includee , [ jsid ] , true ) ;
950
+ donate_methods ( includee , [ jsid ] , true ) ;
951
951
}
952
952
}
953
953
}
1008
1008
define_basic_object_method ( jsid , body ) ;
1009
1009
}
1010
1010
else if ( obj === ObjectClass ) {
1011
- Opal . donate ( obj , [ jsid ] ) ;
1011
+ donate_methods ( obj , [ jsid ] ) ;
1012
1012
}
1013
1013
}
1014
1014
else {
You can’t perform that action at this time.
0 commit comments