2012-01-20 3 views

답변

3
var MyClass = new Class({ 
    foo:function(){ 
     var that = this; 
     var = new Fung({ 
      go:function(){ 
       that.bar(); 
      } 
     }); 
    }, 

    bar:function(){ 
     alert('hello world'); 
    } 
}); 
관련 문제