[Laszlo-dev] what is 'put'?
Henry Minsky
henry.minsky at gmail.com
Mon Mar 10 12:47:07 PDT 2008
In LzNode, there is a check for the existence of a method called
'put', on a setters hash table. What is that
for? Is it some DHTML thing?
function __LZaddSetter ( key , val ) {
// Ensure you have your own private setters dictionary, not one
// inherited from your superclass
if (! this.hasOwnProperty('setters')) {
// Debug.debug('__LZaddSetter: creating setters dictionary');
this.setters = new LzInheritedHash(this.setters);
}
if ('put' in this.setters) {
this.setters.put(key, val);
} else {
this.setters[key] = val;
}
}
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
More information about the Laszlo-dev
mailing list