timer.js

来自「用最近的dojo1.2.1制作前端的ajax购书网站」· JavaScript 代码 · 共 31 行

JS
31
字号
/*	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.timer"]){dojo._hasResource["dojox.lang.aspect.timer"]=true;dojo.provide("dojox.lang.aspect.timer");(function(){var _1=dojox.lang.aspect,_2=0;var _3=function(_4){this.name=_4||("DojoAopTimer #"+ ++_2);this.inCall=0;};dojo.extend(_3,{before:function(){if(!(this.inCall++)){}},after:function(){if(!--this.inCall){}}});_1.timer=function(_5){return new _3(_5);};})();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?