Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F885742
sequence.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
761 B
Subscribers
None
sequence.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.sequence"
]){
dojo
.
_hasResource
[
"dojox.lang.functional.sequence"
]
=
true
;
dojo
.
provide
(
"dojox.lang.functional.sequence"
);
dojo
.
require
(
"dojox.lang.functional.lambda"
);
(
function
(){
var
d
=
dojo
,
df
=
dojox
.
lang
.
functional
;
d
.
mixin
(
df
,{
repeat
:
function
(
n
,
f
,
z
,
o
){
o
=
o
||
d
.
global
;
f
=
df
.
lambda
(
f
);
var
t
=
new
Array
(
n
),
i
=
1
;
t
[
0
]
=
z
;
for
(;
i
<
n
;
t
[
i
]
=
z
=
f
.
call
(
o
,
z
),
++
i
){
}
return
t
;
},
until
:
function
(
pr
,
f
,
z
,
o
){
o
=
o
||
d
.
global
;
f
=
df
.
lambda
(
f
);
pr
=
df
.
lambda
(
pr
);
var
t
=
[];
for
(;
!
pr
.
call
(
o
,
z
);
t
.
push
(
z
),
z
=
f
.
call
(
o
,
z
)){
}
return
t
;
}});
})();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 6, 19:09 (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24953
Default Alt Text
sequence.js (761 B)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment