_core.js

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

JS
33
字号
/*	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.fx._core"]){dojo._hasResource["dojox.fx._core"]=true;dojo.provide("dojox.fx._core");dojox.fx._Line=function(_1,_2){this.start=_1;this.end=_2;var _3=dojo.isArray(_1),d=(_3?[]:_2-_1);if(_3){dojo.forEach(this.start,function(s,i){d[i]=this.end[i]-s;},this);this.getValue=function(n){var _8=[];dojo.forEach(this.start,function(s,i){_8[i]=(d[i]*n)+s;},this);return _8;};}else{this.getValue=function(n){return (d*n)+this.start;};}};}

⌨️ 快捷键说明

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