Sha256: f4a10cde725e9483dda8c2f4478e767a9fe730b0663d07698f0c7957885fedcd

Contents?: true

Size: 435 Bytes

Versions: 4

Compression:

Stored size: 435 Bytes

Contents

//>>built
define("dojox/lang/functional/sequence",["dojo/_base/kernel","dojo/_base/lang","./lambda"],function(_1,_2,df){
_2.mixin(df,{repeat:function(n,f,z,o){
o=o||_1.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||_1.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;
}});
return df;
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dojox-rails-0.14.0 vendor/assets/javascripts/dojox/lang/functional/sequence.js
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/lang/functional/sequence.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/lang/functional/sequence.js
dojox-rails-0.11.0 vendor/assets/javascripts/lang/functional/sequence.js