win7下声音图标消失的解决办法
2013-12-17 10:24
337 查看
var o = Ext.util.Observable.prototype;
// This is the function we will be executing <b>before</b> the real fireEventMethod.
// It will be passed all the same argments, and has the same scope (this reference).
// Log the firer, the event name, and the arguments to the console.
function fireEventInterceptor(evt) {
var a = arguments;
var msg = "fired the following event {0} with args";
//console.log(this);
console.log(String.format(msg, evt));
console.log(Array.prototype.slice.call(a, 1, a.length));
// console.log(a.slice( 1, a.length));
}
// Set the class's fireEvent to be our interceptor.
o.fireEvent = o.fireEvent.createInterceptor(fireEventInterceptor);
// This is the function we will be executing <b>before</b> the real fireEventMethod.
// It will be passed all the same argments, and has the same scope (this reference).
// Log the firer, the event name, and the arguments to the console.
function fireEventInterceptor(evt) {
var a = arguments;
var msg = "fired the following event {0} with args";
//console.log(this);
console.log(String.format(msg, evt));
console.log(Array.prototype.slice.call(a, 1, a.length));
// console.log(a.slice( 1, a.length));
}
// Set the class's fireEvent to be our interceptor.
o.fireEvent = o.fireEvent.createInterceptor(fireEventInterceptor);
相关文章推荐
- WPF:面板
- Oracle Scalar Subquery Cache
- hbase中关于scan的操作
- Tomcat启动行参数
- Web开发人员应当充分使用的10大jQuery插件
- 8天学通MongoDB——第四天 索引操作
- ADO数据库编程
- pku 2750 鸡兔同笼 简单的计算
- 项目经验之:MVVM初学者图形化笔记整理。。。
- DataGridView中的Cell无法触发KeyPress事件,解决方法
- C#XML注释
- 【JAVA笔记】spring3.x配置--每天23:30分执行任务 & log4j.properties的配置
- 常用的QString字符串类
- C语言的typedef 细节
- 【转】一个安全测试的CheckList
- Gruntjs提高生产力(二)
- java 线程池--转
- 将串口服务器联入外网
- (POJ DP1.1)POJ 1949 Chores(简单DP)
- RadioButton和CheckBox的区别