Sha256: 16a96403fd0422650165360d73964cc276c164f19176670f0f62742ddfc24c6d

Contents?: true

Size: 806 Bytes

Versions: 9

Compression:

Stored size: 806 Bytes

Contents

//>>built
define("dojox/wire/TableAdapter",["dijit","dojo","dojox","dojo/require!dojox/wire/CompositeWire"],function(_1,_2,_3){
_2.provide("dojox.wire.TableAdapter");
_2.require("dojox.wire.CompositeWire");
_2.declare("dojox.wire.TableAdapter",_3.wire.CompositeWire,{_wireClass:"dojox.wire.TableAdapter",constructor:function(_4){
this._initializeChildren(this.columns);
},_getValue:function(_5){
if(!_5||!this.columns){
return _5;
}
var _6=_5;
if(!_2.isArray(_6)){
_6=[_6];
}
var _7=[];
for(var i in _6){
var _8=this._getRow(_6[i]);
_7.push(_8);
}
return _7;
},_setValue:function(_9,_a){
throw new Error("Unsupported API: "+this._wireClass+"._setValue");
},_getRow:function(_b){
var _c=(_2.isArray(this.columns)?[]:{});
for(var c in this.columns){
_c[c]=this.columns[c].getValue(_b);
}
return _c;
}});
});

Version data entries

9 entries across 9 versions & 2 rubygems

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