Logo white

Peter M. Groen / knowledgetree

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • knowledgetree
  • ktatompub
  • Client
  • js
  • ktAtompubClient
  • lib
  • lib.data.js
  • Atompub client updates
    d4c845e3
    Mark Holtzhausen authored
    2009-07-13 11:20:08 +0200  
    Browse Code ยป
lib.data.js 239 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

lib.data=new function(){
	this._data={};
	
	this.setData=function(name,value){
		this._data[name]=value;
	}
	
	this.getData=function(name){
		return this._data[name];
	}
	
	this.removeData=function(name){
		delete(this._data[name]);
	}
}