Sha256: 1e3dd850eb77056a50ed885f07337d39b73d92f0afd4b790a2b2165b0a18294b

Contents?: true

Size: 1.04 KB

Versions: 9

Compression:

Stored size: 1.04 KB

Contents

//>>built
define("dojox/collections/_base",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array"],function(_1,_2,_3){
var _4=_2.getObject("dojox.collections",true);
_4.DictionaryEntry=function(k,v){
this.key=k;
this.value=v;
this.valueOf=function(){
return this.value;
};
this.toString=function(){
return String(this.value);
};
};
_4.Iterator=function(a){
var _5=0;
this.element=a[_5]||null;
this.atEnd=function(){
return (_5>=a.length);
};
this.get=function(){
if(this.atEnd()){
return null;
}
this.element=a[_5++];
return this.element;
};
this.map=function(fn,_6){
return _3.map(a,fn,_6);
};
this.reset=function(){
_5=0;
this.element=a[_5];
};
};
_4.DictionaryIterator=function(_7){
var a=[];
var _8={};
for(var p in _7){
if(!_8[p]){
a.push(_7[p]);
}
}
var _9=0;
this.element=a[_9]||null;
this.atEnd=function(){
return (_9>=a.length);
};
this.get=function(){
if(this.atEnd()){
return null;
}
this.element=a[_9++];
return this.element;
};
this.map=function(fn,_a){
return _3.map(a,fn,_a);
};
this.reset=function(){
_9=0;
this.element=a[_9];
};
};
return _4;
});

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
dojox-rails-0.14.0 vendor/assets/javascripts/dojox/collections/_base.js
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/collections/_base.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/collections/_base.js
dojox-rails-0.11.0 vendor/assets/javascripts/collections/_base.js
dojo-rails-0.9.4 vendor/assets/javascripts/dojox/collections/_base.js
dojo-rails-0.9.3 vendor/assets/javascripts/dojox/collections/_base.js
dojo-rails-0.9.2 vendor/assets/javascripts/dojox/collections/_base.js
dojo-rails-0.9.1 vendor/assets/javascripts/dojox/collections/_base.js
dojo-rails-0.9.0 vendor/assets/javascripts/dojox/collections/_base.js