📄 tracer.js
字号:
/* Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details*/if(!dojo._hasResource["dojox.lang.aspect.tracer"]){dojo._hasResource["dojox.lang.aspect.tracer"]=true;dojo.provide("dojox.lang.aspect.tracer");(function(){var _1=dojox.lang.aspect;var _2=function(_3){this.method=_3?"group":"log";if(_3){this.after=this._after;}};dojo.extend(_2,{before:function(){var _4=_1.getContext(),_5=_4.joinPoint,_6=Array.prototype.join.call(arguments,", ");console[this.method](_4.instance,"=>",_5.targetName+"("+_6+")");},afterReturning:function(_7){var _8=_1.getContext().joinPoint;if(typeof _7!="undefined"){}else{}},afterThrowing:function(_9){},_after:function(_a){}});_1.tracer=function(_b){return new _2(_b);};})();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -