Sha256: d5847d05bcd2288dfb465f78222105194d8970be1e77f43792ed597b4205535f

Contents?: true

Size: 815 Bytes

Versions: 9

Compression:

Stored size: 815 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 2 rubygems

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