Sha256: 125e7544ddbcb5ea406b7159430f6f25ab181a9e07d970a5d47849cf2563ae7d

Contents?: true

Size: 626 Bytes

Versions: 9

Compression:

Stored size: 626 Bytes

Contents

//>>built
define("dojox/wire/ml/JsonHandler",["dijit","dojo","dojox","dojo/require!dojox/wire/ml/RestHandler,dojox/wire/_base,dojox/wire/ml/util"],function(_1,_2,_3){
_2.provide("dojox.wire.ml.JsonHandler");
_2.require("dojox.wire.ml.RestHandler");
_2.require("dojox.wire._base");
_2.require("dojox.wire.ml.util");
_2.declare("dojox.wire.ml.JsonHandler",_3.wire.ml.RestHandler,{contentType:"text/json",handleAs:"json",headers:{"Accept":"*/json"},_getContent:function(_4,_5){
var _6=null;
if(_4=="POST"||_4=="PUT"){
var p=(_5?_5[0]:undefined);
if(p){
if(_2.isString(p)){
_6=p;
}else{
_6=_2.toJson(p);
}
}
}
return _6;
}});
});

Version data entries

9 entries across 9 versions & 2 rubygems

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