Hello
I am trying to create an Adobe AIR widget using dojox.cometd for push. I get stuck with the dojox.cometd.init function. I try to call it after onLoad in an application sandbox content. This type of sandbox doesn't allow dynamic code generation after the onLoad event. So I get a "AIR runtime security violation for Javascript in application security sandbox (function constructor)".
Indeed, the init function calls this piece of code :
function(){
var _13c = function(arr, obj, cb){
return [dojo.isString(arr) ? arr.split("") : arr,
