Commit 44b350a3 authored by Jason Morawski's avatar Jason Morawski Committed by David Prévot

Imported Debian patch 1.4.3+dfsg1-1

parents 81828917 92009803
......@@ -8,3 +8,11 @@ your html header:
</script>
-- Jason Morawski <rpgdude1@gmail.com> Fri, 14 Aug 2009 16:19:42 -0400
If you use dojox.form.FileUploader, make sure you set the force property to
html:
<div dojoType="dojox.form.FileUploader" force="html">
</div>
-- Jason Morawski <rpgdude1@gmail.com> Sun, 8 Aug 2010 19:47:00 -0400
......@@ -3,3 +3,11 @@ files included in the dojox.av project. In addition to this, the dojox.av
project includes an mov file which is not redistributable and therefore does
not comply with the DFSG. The dojox.av project is therefore removed from the
dojo tarball until these issues are resolved upstream.
The tarball also does not include source code for the uploader.swf file
included in the dojox.form project. This file is also removed to comply with
the DFSG.
The dojox.storage project uses a swf file (storage_dialog.swf) that cannot be
compiled using free build tools. The dojox.storage project is therefore removed
from the dojo tarball.
dojo (1.4.3+dfsg1-1) unstable; urgency=low
* Removed uploader.swf and dojox.storage to comply with the DFSG
(Closes: #591961)
* Removed mtasc from libjs-dojo-dojox Suggests due to removal of the
dojox.storage project
* Updated README files to reflect DFSG changes
-- Jason Morawski <rpgdude1@gmail.com> Sun, 08 Aug 2010 19:55:01 -0400
dojo (1.4.3+dfsg-1) unstable; urgency=low
* New upstream version
......
......@@ -32,7 +32,6 @@ Description: Modular JavaScript toolkit - Dijit
Package: libjs-dojo-dojox
Architecture: all
Depends: libjs-dojo-dijit (= ${binary:Version}), ${misc:Depends}
Suggests: mtasc
Description: Modular JavaScript toolkit - DojoX
Dojo Toolkit is an open source modular JavaScript library
designed to ease the rapid development of cross platform,
......
......@@ -3,7 +3,6 @@ dojox for Debian
Some files have been moved to /usr/share/doc/libjs-dojo-dojox/examples
These files include:
Source code for dojox.flash project
Scripts for rebuilding dojox/storage/Storage.swf
Source code for the dojox.flash project
-- Jason Morawski <rpgdude1@gmail.com>, Thu, 18 Mar 2010 18:18:19 -0400
usr/share/doc/libjs-dojo-dojox/examples/dojox/flash
usr/share/doc/libjs-dojo-dojox/examples/dojox/storage
......@@ -21,9 +21,6 @@ binary-indep:
dh_installdocs
dh_install
mv debian/libjs-dojo-dojox/usr/share/javascript/dojox/flash/*.as debian/libjs-dojo-dojox/usr/share/doc/libjs-dojo-dojox/examples/dojox/flash/
mv debian/libjs-dojo-dojox/usr/share/javascript/dojox/storage/*.as debian/libjs-dojo-dojox/usr/share/doc/libjs-dojo-dojox/examples/dojox/storage/
mv debian/libjs-dojo-dojox/usr/share/javascript/dojox/storage/*.fla debian/libjs-dojo-dojox/usr/share/doc/libjs-dojo-dojox/examples/dojox/storage/
mv debian/libjs-dojo-dojox/usr/share/javascript/dojox/storage/*.sh debian/libjs-dojo-dojox/usr/share/doc/libjs-dojo-dojox/examples/dojox/storage/
dh_compress
dh_fixperms
dh_gencontrol
......
/*
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.storage.AirDBStorageProvider"]){
dojo._hasResource["dojox.storage.AirDBStorageProvider"]=true;
dojo.provide("dojox.storage.AirDBStorageProvider");
dojo.require("dojox.storage.manager");
dojo.require("dojox.storage.Provider");
if(dojo.isAIR){
(function(){
if(!_1){
var _1={};
}
_1.File=window.runtime.flash.filesystem.File;
_1.SQLConnection=window.runtime.flash.data.SQLConnection;
_1.SQLStatement=window.runtime.flash.data.SQLStatement;
dojo.declare("dojox.storage.AirDBStorageProvider",[dojox.storage.Provider],{DATABASE_FILE:"dojo.db",TABLE_NAME:"__DOJO_STORAGE",initialized:false,_db:null,initialize:function(){
this.initialized=false;
try{
this._db=new _1.SQLConnection();
this._db.open(_1.File.applicationStorageDirectory.resolvePath(this.DATABASE_FILE));
this._sql("CREATE TABLE IF NOT EXISTS "+this.TABLE_NAME+"(namespace TEXT, key TEXT, value TEXT)");
this._sql("CREATE UNIQUE INDEX IF NOT EXISTS namespace_key_index ON "+this.TABLE_NAME+" (namespace, key)");
this.initialized=true;
}
catch(e){
}
dojox.storage.manager.loaded();
},_sql:function(_2,_3){
var _4=new _1.SQLStatement();
_4.sqlConnection=this._db;
_4.text=_2;
if(_3){
for(var _5 in _3){
_4.parameters[_5]=_3[_5];
}
}
_4.execute();
return _4.getResult();
},_beginTransaction:function(){
this._db.begin();
},_commitTransaction:function(){
this._db.commit();
},isAvailable:function(){
return true;
},put:function(_6,_7,_8,_9){
if(this.isValidKey(_6)==false){
throw new Error("Invalid key given: "+_6);
}
_9=_9||this.DEFAULT_NAMESPACE;
if(this.isValidKey(_9)==false){
throw new Error("Invalid namespace given: "+_9);
}
try{
this._sql("DELETE FROM "+this.TABLE_NAME+" WHERE namespace = :namespace AND key = :key",{":namespace":_9,":key":_6});
this._sql("INSERT INTO "+this.TABLE_NAME+" VALUES (:namespace, :key, :value)",{":namespace":_9,":key":_6,":value":_7});
}
catch(e){
_8(this.FAILED,_6,e.toString());
return;
}
if(_8){
_8(this.SUCCESS,_6,null,_9);
}
},get:function(_a,_b){
if(this.isValidKey(_a)==false){
throw new Error("Invalid key given: "+_a);
}
_b=_b||this.DEFAULT_NAMESPACE;
var _c=this._sql("SELECT * FROM "+this.TABLE_NAME+" WHERE namespace = :namespace AND key = :key",{":namespace":_b,":key":_a});
if(_c.data&&_c.data.length){
return _c.data[0].value;
}
return null;
},getNamespaces:function(){
var _d=[this.DEFAULT_NAMESPACE];
var rs=this._sql("SELECT namespace FROM "+this.TABLE_NAME+" DESC GROUP BY namespace");
if(rs.data){
for(var i=0;i<rs.data.length;i++){
if(rs.data[i].namespace!=this.DEFAULT_NAMESPACE){
_d.push(rs.data[i].namespace);
}
}
}
return _d;
},getKeys:function(_e){
_e=_e||this.DEFAULT_NAMESPACE;
if(this.isValidKey(_e)==false){
throw new Error("Invalid namespace given: "+_e);
}
var _f=[];
var rs=this._sql("SELECT key FROM "+this.TABLE_NAME+" WHERE namespace = :namespace",{":namespace":_e});
if(rs.data){
for(var i=0;i<rs.data.length;i++){
_f.push(rs.data[i].key);
}
}
return _f;
},clear:function(_10){
if(this.isValidKey(_10)==false){
throw new Error("Invalid namespace given: "+_10);
}
this._sql("DELETE FROM "+this.TABLE_NAME+" WHERE namespace = :namespace",{":namespace":_10});
},remove:function(key,_11){
_11=_11||this.DEFAULT_NAMESPACE;
this._sql("DELETE FROM "+this.TABLE_NAME+" WHERE namespace = :namespace AND key = :key",{":namespace":_11,":key":key});
},putMultiple:function(_12,_13,_14,_15){
if(this.isValidKeyArray(_12)===false||!_13 instanceof Array||_12.length!=_13.length){
throw new Error("Invalid arguments: keys = ["+_12+"], values = ["+_13+"]");
}
if(_15==null||typeof _15=="undefined"){
_15=this.DEFAULT_NAMESPACE;
}
if(this.isValidKey(_15)==false){
throw new Error("Invalid namespace given: "+_15);
}
this._statusHandler=_14;
try{
this._beginTransaction();
for(var i=0;i<_12.length;i++){
this._sql("DELETE FROM "+this.TABLE_NAME+" WHERE namespace = :namespace AND key = :key",{":namespace":_15,":key":_12[i]});
this._sql("INSERT INTO "+this.TABLE_NAME+" VALUES (:namespace, :key, :value)",{":namespace":_15,":key":_12[i],":value":_13[i]});
}
this._commitTransaction();
}
catch(e){
if(_14){
_14(this.FAILED,_12,e.toString(),_15);
}
return;
}
if(_14){
_14(this.SUCCESS,_12,null);
}
},getMultiple:function(_16,_17){
if(this.isValidKeyArray(_16)===false){
throw new Error("Invalid key array given: "+_16);
}
if(_17==null||typeof _17=="undefined"){
_17=this.DEFAULT_NAMESPACE;
}
if(this.isValidKey(_17)==false){
throw new Error("Invalid namespace given: "+_17);
}
var _18=[];
for(var i=0;i<_16.length;i++){
var _19=this._sql("SELECT * FROM "+this.TABLE_NAME+" WHERE namespace = :namespace AND key = :key",{":namespace":_17,":key":_16[i]});
_18[i]=_19.data&&_19.data.length?_19.data[0].value:null;
}
return _18;
},removeMultiple:function(_1a,_1b){
_1b=_1b||this.DEFAULT_NAMESPACE;
this._beginTransaction();
for(var i=0;i<_1a.length;i++){
this._sql("DELETE FROM "+this.TABLE_NAME+" WHERE namespace = namespace = :namespace AND key = :key",{":namespace":_1b,":key":_1a[i]});
}
this._commitTransaction();
},isPermanent:function(){
return true;
},getMaximumSize:function(){
return this.SIZE_NO_LIMIT;
},hasSettingsUI:function(){
return false;
},showSettingsUI:function(){
throw new Error(this.declaredClass+" does not support a storage settings user-interface");
},hideSettingsUI:function(){
throw new Error(this.declaredClass+" does not support a storage settings user-interface");
}});
dojox.storage.manager.register("dojox.storage.AirDBStorageProvider",new dojox.storage.AirDBStorageProvider());
dojox.storage.manager.initialize();
})();
}
}
/*
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.storage.AirEncryptedLocalStorageProvider"]){
dojo._hasResource["dojox.storage.AirEncryptedLocalStorageProvider"]=true;
dojo.provide("dojox.storage.AirEncryptedLocalStorageProvider");
dojo.require("dojox.storage.manager");
dojo.require("dojox.storage.Provider");
if(dojo.isAIR){
(function(){
if(!_1){
var _1={};
}
_1.ByteArray=window.runtime.flash.utils.ByteArray;
_1.EncryptedLocalStore=window.runtime.flash.data.EncryptedLocalStore,dojo.declare("dojox.storage.AirEncryptedLocalStorageProvider",[dojox.storage.Provider],{initialize:function(){
dojox.storage.manager.loaded();
},isAvailable:function(){
return true;
},_getItem:function(_2){
var _3=_1.EncryptedLocalStore.getItem("__dojo_"+_2);
return _3?_3.readUTFBytes(_3.length):"";
},_setItem:function(_4,_5){
var _6=new _1.ByteArray();
_6.writeUTFBytes(_5);
_1.EncryptedLocalStore.setItem("__dojo_"+_4,_6);
},_removeItem:function(_7){
_1.EncryptedLocalStore.removeItem("__dojo_"+_7);
},put:function(_8,_9,_a,_b){
if(this.isValidKey(_8)==false){
throw new Error("Invalid key given: "+_8);
}
_b=_b||this.DEFAULT_NAMESPACE;
if(this.isValidKey(_b)==false){
throw new Error("Invalid namespace given: "+_b);
}
try{
var _c=this._getItem("namespaces")||"|";
if(_c.indexOf("|"+_b+"|")==-1){
this._setItem("namespaces",_c+_b+"|");
}
var _d=this._getItem(_b+"_keys")||"|";
if(_d.indexOf("|"+_8+"|")==-1){
this._setItem(_b+"_keys",_d+_8+"|");
}
this._setItem("_"+_b+"_"+_8,_9);
}
catch(e){
_a(this.FAILED,_8,e.toString(),_b);
return;
}
if(_a){
_a(this.SUCCESS,_8,null,_b);
}
},get:function(_e,_f){
if(this.isValidKey(_e)==false){
throw new Error("Invalid key given: "+_e);
}
_f=_f||this.DEFAULT_NAMESPACE;
return this._getItem("_"+_f+"_"+_e);
},getNamespaces:function(){
var _10=[this.DEFAULT_NAMESPACE];
var _11=(this._getItem("namespaces")||"|").split("|");
for(var i=0;i<_11.length;i++){
if(_11[i].length&&_11[i]!=this.DEFAULT_NAMESPACE){
_10.push(_11[i]);
}
}
return _10;
},getKeys:function(_12){
_12=_12||this.DEFAULT_NAMESPACE;
if(this.isValidKey(_12)==false){
throw new Error("Invalid namespace given: "+_12);
}
var _13=[];
var _14=(this._getItem(_12+"_keys")||"|").split("|");
for(var i=0;i<_14.length;i++){
if(_14[i].length){
_13.push(_14[i]);
}
}
return _13;
},clear:function(_15){
if(this.isValidKey(_15)==false){
throw new Error("Invalid namespace given: "+_15);
}
var _16=this._getItem("namespaces")||"|";
if(_16.indexOf("|"+_15+"|")!=-1){
this._setItem("namespaces",_16.replace("|"+_15+"|","|"));
}
var _17=(this._getItem(_15+"_keys")||"|").split("|");
for(var i=0;i<_17.length;i++){
if(_17[i].length){
this._removeItem(_15+"_"+_17[i]);
}
}
this._removeItem(_15+"_keys");
},remove:function(key,_18){
_18=_18||this.DEFAULT_NAMESPACE;
var _19=this._getItem(_18+"_keys")||"|";
if(_19.indexOf("|"+key+"|")!=-1){
this._setItem(_18+"_keys",_19.replace("|"+key+"|","|"));
}
this._removeItem("_"+_18+"_"+key);
},putMultiple:function(_1a,_1b,_1c,_1d){
if(this.isValidKeyArray(_1a)===false||!_1b instanceof Array||_1a.length!=_1b.length){
throw new Error("Invalid arguments: keys = ["+_1a+"], values = ["+_1b+"]");
}
if(_1d==null||typeof _1d=="undefined"){
_1d=this.DEFAULT_NAMESPACE;
}
if(this.isValidKey(_1d)==false){
throw new Error("Invalid namespace given: "+_1d);
}
this._statusHandler=_1c;
try{
for(var i=0;i<_1a.length;i++){
this.put(_1a[i],_1b[i],null,_1d);
}
}
catch(e){
if(_1c){
_1c(this.FAILED,_1a,e.toString(),_1d);
}
return;
}
if(_1c){
_1c(this.SUCCESS,_1a,null);
}
},getMultiple:function(_1e,_1f){
if(this.isValidKeyArray(_1e)===false){
throw new Error("Invalid key array given: "+_1e);
}
if(_1f==null||typeof _1f=="undefined"){
_1f=this.DEFAULT_NAMESPACE;
}
if(this.isValidKey(_1f)==false){
throw new Error("Invalid namespace given: "+_1f);
}
var _20=[];
for(var i=0;i<_1e.length;i++){
_20[i]=this.get(_1e[i],_1f);
}
return _20;
},removeMultiple:function(_21,_22){
_22=_22||this.DEFAULT_NAMESPACE;
for(var i=0;i<_21.length;i++){
this.remove(_21[i],_22);
}
},isPermanent:function(){
return true;
},getMaximumSize:function(){
return this.SIZE_NO_LIMIT;
},hasSettingsUI:function(){
return false;
},showSettingsUI:function(){
throw new Error(this.declaredClass+" does not support a storage settings user-interface");
},hideSettingsUI:function(){
throw new Error(this.declaredClass+" does not support a storage settings user-interface");
}});
dojox.storage.manager.register("dojox.storage.AirEncryptedLocalStorageProvider",new dojox.storage.AirEncryptedLocalStorageProvider());
dojox.storage.manager.initialize();
})();
}
}
/*
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.storage.AirFileStorageProvider"]){
dojo._hasResource["dojox.storage.AirFileStorageProvider"]=true;
dojo.provide("dojox.storage.AirFileStorageProvider");
dojo.require("dojox.storage.manager");
dojo.require("dojox.storage.Provider");
if(dojo.isAIR){
(function(){
if(!_1){
var _1={};
}
_1.File=window.runtime.flash.filesystem.File;
_1.FileStream=window.runtime.flash.filesystem.FileStream;
_1.FileMode=window.runtime.flash.filesystem.FileMode;
dojo.declare("dojox.storage.AirFileStorageProvider",[dojox.storage.Provider],{initialized:false,_storagePath:"__DOJO_STORAGE/",initialize:function(){
this.initialized=false;
try{
var _2=_1.File.applicationStorageDirectory.resolvePath(this._storagePath);
if(!_2.exists){
_2.createDirectory();
}
this.initialized=true;
}
catch(e){
}
dojox.storage.manager.loaded();
},isAvailable:function(){
return true;
},put:function(_3,_4,_5,_6){
if(this.isValidKey(_3)==false){
throw new Error("Invalid key given: "+_3);
}
_6=_6||this.DEFAULT_NAMESPACE;
if(this.isValidKey(_6)==false){
throw new Error("Invalid namespace given: "+_6);
}
try{
this.remove(_3,_6);
var _7=_1.File.applicationStorageDirectory.resolvePath(this._storagePath+_6);
if(!_7.exists){
_7.createDirectory();
}
var _8=_7.resolvePath(_3);
var _9=new _1.FileStream();
_9.open(_8,_1.FileMode.WRITE);
_9.writeObject(_4);
_9.close();
}
catch(e){
_5(this.FAILED,_3,e.toString(),_6);
return;
}
if(_5){
_5(this.SUCCESS,_3,null,_6);
}
},get:function(_a,_b){
if(this.isValidKey(_a)==false){
throw new Error("Invalid key given: "+_a);
}
_b=_b||this.DEFAULT_NAMESPACE;
var _c=null;
var _d=_1.File.applicationStorageDirectory.resolvePath(this._storagePath+_b+"/"+_a);
if(_d.exists&&!_d.isDirectory){
var _e=new _1.FileStream();
_e.open(_d,_1.FileMode.READ);
_c=_e.readObject();
_e.close();
}
return _c;
},getNamespaces:function(){
var _f=[this.DEFAULT_NAMESPACE];
var dir=_1.File.applicationStorageDirectory.resolvePath(this._storagePath);
var _10=dir.getDirectoryListing(),i;
for(i=0;i<_10.length;i++){
if(_10[i].isDirectory&&_10[i].name!=this.DEFAULT_NAMESPACE){
_f.push(_10[i].name);
}
}
return _f;
},getKeys:function(_11){
_11=_11||this.DEFAULT_NAMESPACE;
if(this.isValidKey(_11)==false){
throw new Error("Invalid namespace given: "+_11);
}
var _12=[];
var dir=_1.File.applicationStorageDirectory.resolvePath(this._storagePath+_11);
if(dir.exists&&dir.isDirectory){
var _13=dir.getDirectoryListing(),i;
for(i=0;i<_13.length;i++){
_12.push(_13[i].name);
}
}
return _12;
},clear:function(_14){
if(this.isValidKey(_14)==false){
throw new Error("Invalid namespace given: "+_14);
}
var dir=_1.File.applicationStorageDirectory.resolvePath(this._storagePath+_14);
if(dir.exists&&dir.isDirectory){
dir.deleteDirectory(true);
}
},remove:function(key,_15){
_15=_15||this.DEFAULT_NAMESPACE;
var _16=_1.File.applicationStorageDirectory.resolvePath(this._storagePath+_15+"/"+key);
if(_16.exists&&!_16.isDirectory){
_16.deleteFile();
}
},putMultiple:function(_17,_18,_19,_1a){
if(this.isValidKeyArray(_17)===false||!_18 instanceof Array||_17.length!=_18.length){
throw new Error("Invalid arguments: keys = ["+_17+"], values = ["+_18+"]");
}
if(_1a==null||typeof _1a=="undefined"){
_1a=this.DEFAULT_NAMESPACE;
}
if(this.isValidKey(_1a)==false){
throw new Error("Invalid namespace given: "+_1a);
}
this._statusHandler=_19;
try{
for(var i=0;i<_17.length;i++){
this.put(_17[i],_18[i],null,_1a);
}
}
catch(e){
if(_19){
_19(this.FAILED,_17,e.toString(),_1a);
}
return;
}
if(_19){
_19(this.SUCCESS,_17,null,_1a);
}
},getMultiple:function(_1b,_1c){
if(this.isValidKeyArray(_1b)===false){
throw new Error("Invalid key array given: "+_1b);
}
if(_1c==null||typeof _1c=="undefined"){
_1c=this.DEFAULT_NAMESPACE;
}
if(this.isValidKey(_1c)==false){
throw new Error("Invalid namespace given: "+_1c);
}
var _1d=[];
for(var i=0;i<_1b.length;i++){
_1d[i]=this.get(_1b[i],_1c);
}
return _1d;
},removeMultiple:function(_1e,_1f){
_1f=_1f||this.DEFAULT_NAMESPACE;
for(var i=0;i<_1e.length;i++){
this.remove(_1e[i],_1f);
}
},isPermanent:function(){
return true;
},getMaximumSize:function(){
return this.SIZE_NO_LIMIT;
},hasSettingsUI:function(){
return false;
},showSettingsUI:function(){
throw new Error(this.declaredClass+" does not support a storage settings user-interface");
},hideSettingsUI:function(){
throw new Error(this.declaredClass+" does not support a storage settings user-interface");
}});
dojox.storage.manager.register("dojox.storage.AirFileStorageProvider",new dojox.storage.AirFileStorageProvider());
dojox.storage.manager.initialize();
})();
}
}
/*
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.storage.FlashStorageProvider"]){
dojo._hasResource["dojox.storage.FlashStorageProvider"]=true;
dojo.provide("dojox.storage.FlashStorageProvider");
dojo.require("dojox.flash");
dojo.require("dojox.storage.manager");
dojo.require("dojox.storage.Provider");
dojo.declare("dojox.storage.FlashStorageProvider",dojox.storage.Provider,{initialized:false,_available:null,_statusHandler:null,_flashReady:false,_pageReady:false,initialize:function(){
if(dojo.config["disableFlashStorage"]==true){
return;
}
dojox.flash.addLoadedListener(dojo.hitch(this,function(){
this._flashReady=true;
if(this._flashReady&&this._pageReady){
this._loaded();
}
}));
var _1=dojo.moduleUrl("dojox","storage/Storage.swf").toString();
dojox.flash.setSwf(_1,false);
dojo.connect(dojo,"loaded",this,function(){
this._pageReady=true;
if(this._flashReady&&this._pageReady){
this._loaded();
}
});
},setFlushDelay:function(_2){
if(_2===null||typeof _2==="undefined"||isNaN(_2)){
throw new Error("Invalid argunment: "+_2);
}
dojox.flash.comm.setFlushDelay(String(_2));
},getFlushDelay:function(){
return Number(dojox.flash.comm.getFlushDelay());
},flush:function(_3){
if(_3==null||typeof _3=="undefined"){
_3=dojox.storage.DEFAULT_NAMESPACE;
}
dojox.flash.comm.flush(_3);
},isAvailable:function(){
return (this._available=!dojo.config["disableFlashStorage"]);
},put:function(_4,_5,_6,_7){
if(!this.isValidKey(_4)){
throw new Error("Invalid key given: "+_4);
}
if(!_7){
_7=dojox.storage.DEFAULT_NAMESPACE;
}
if(!this.isValidKey(_7)){
throw new Error("Invalid namespace given: "+_7);
}
this._statusHandler=_6;
if(dojo.isString(_5)){
_5="string:"+_5;
}else{
_5=dojo.toJson(_5);
}
dojox.flash.comm.put(_4,_5,_7);
},putMultiple:function(_8,_9,_a,_b){
if(!this.isValidKeyArray(_8)||!_9 instanceof Array||_8.length!=_9.length){
throw new Error("Invalid arguments: keys = ["+_8+"], values = ["+_9+"]");
}
if(!_b){
_b=dojox.storage.DEFAULT_NAMESPACE;
}
if(!this.isValidKey(_b)){
throw new Error("Invalid namespace given: "+_b);
}
this._statusHandler=_a;
var _c=_8.join(",");
var _d=[];
for(var i=0;i<_9.length;i++){