tokenize.js
来自「用最近的dojo1.2.1制作前端的ajax购书网站」· JavaScript 代码 · 共 41 行
JS
41 行
/* 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.string.tokenize"]){dojo._hasResource["dojox.string.tokenize"]=true;dojo.provide("dojox.string.tokenize");dojox.string.tokenize=function(_1,re,_3,_4){var _5=[];var _6,_7,_8=0;while(_6=re.exec(_1)){_7=_1.slice(_8,re.lastIndex-_6[0].length);if(_7.length){_5.push(_7);}if(_3){if(dojo.isOpera){var _9=_6.slice(0);while(_9.length<_6.length){_9.push(null);}_6=_9;}var _a=_3.apply(_4,_6.slice(1).concat(_5.length));if(typeof _a!="undefined"){_5.push(_a);}}_8=re.lastIndex;}_7=_1.slice(_8);if(_7.length){_5.push(_7);}return _5;};}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?