Ext.Function singleton

A collection of useful static methods to deal with function callbacks(处理函数回调的有用静态方法的集合)--------------------------------------------------------------------------------alias( Object/Function object, String methodName ) : FunctionCreate an alias to the provided method property with name methodName of object.(创建对象的methodName方法属性的别名) Note that the execution scope will still be bound to the provided object itself.(注意执行的范围仍然是绑定到提供的对象本身。)Parameters object : Object/Function methodName : StringReturns Function aliasFn(别名方法)

(function(){Ext.onReady(function(){varo={say:function(){alert(111);}}varfn=Ext.Function.alias(o,'say');fn();});})();111