Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F946110
zip.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
696 B
Subscribers
None
zip.js
View Options
/*
Copyright (c) 2004-2009, 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.functional.zip"
]){
dojo
.
_hasResource
[
"dojox.lang.functional.zip"
]
=
true
;
dojo
.
provide
(
"dojox.lang.functional.zip"
);
(
function
(){
var
df
=
dojox
.
lang
.
functional
;
dojo
.
mixin
(
df
,{
zip
:
function
(){
var
n
=
arguments
[
0
].
length
,
m
=
arguments
.
length
,
i
=
1
,
t
=
new
Array
(
n
),
j
,
p
;
for
(;
i
<
m
;
n
=
Math
.
min
(
n
,
arguments
[
i
++
].
length
)){
}
for
(
i
=
0
;
i
<
n
;
++
i
){
p
=
new
Array
(
m
);
for
(
j
=
0
;
j
<
m
;
p
[
j
]
=
arguments
[
j
][
i
],
++
j
){
}
t
[
i
]
=
p
;
}
return
t
;
},
unzip
:
function
(
a
){
return
df
.
zip
.
apply
(
null
,
a
);
}});
})();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 05:11 (3 d, 15 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26412
Default Alt Text
zip.js (696 B)
Attached To
rZED Zed
Event Timeline
Log In to Comment