From 2f01fe57a8d37767827d6db42850aef86a767c53 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 15 Nov 2010 10:39:52 +0300 Subject: add dijit/dojo stuff; initial ui mockup --- lib/dojo/_base/array.js | 79 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 lib/dojo/_base/array.js (limited to 'lib/dojo/_base/array.js') diff --git a/lib/dojo/_base/array.js b/lib/dojo/_base/array.js new file mode 100644 index 000000000..83c21c8d8 --- /dev/null +++ b/lib/dojo/_base/array.js @@ -0,0 +1,79 @@ +/* + Copyright (c) 2004-2010, 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["dojo._base.array"]){ +dojo._hasResource["dojo._base.array"]=true; +dojo.require("dojo._base.lang"); +dojo.provide("dojo._base.array"); +(function(){ +var _1=function(_2,_3,cb){ +return [(typeof _2=="string")?_2.split(""):_2,_3||dojo.global,(typeof cb=="string")?new Function("item","index","array",cb):cb]; +}; +var _4=function(_5,_6,_7,_8){ +var _9=_1(_6,_8,_7); +_6=_9[0]; +for(var i=0,l=_6.length;iend)||i