Page MenuHomeCode

flashVars.js
No OneTemporary

flashVars.js

/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.embed.flashVars"]){
dojo._hasResource["dojox.embed.flashVars"]=true;
dojo.provide("dojox.embed.flashVars");
dojo.mixin(dojox.embed.flashVars,{serialize:function(n,o){
var _1=function(_2){
if(typeof _2=="string"){
_2=_2.replace(/;/g,"_sc_");
_2=_2.replace(/\./g,"_pr_");
_2=_2.replace(/\:/g,"_cl_");
}
return _2;
};
var df=dojox.embed.flashVars.serialize;
var _3="";
if(dojo.isArray(o)){
for(var i=0;i<o.length;i++){
_3+=df(n+"."+i,_1(o[i]))+";";
}
return _3.replace(/;{2,}/g,";");
}else{
if(dojo.isObject(o)){
for(var nm in o){
_3+=df(n+"."+nm,_1(o[nm]))+";";
}
return _3.replace(/;{2,}/g,";");
}
}
return n+":"+o;
}});
}

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 26, 15:40 (6 h, 17 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25148
Default Alt Text
flashVars.js (848 B)

Event Timeline