[Qooxdoo-commit] qooxdoo/source/script/core QxExtend.js,1.7.2.94,1.7.2.95
Brought to you by:
ecker,
martinwittemann
|
From: Sebastian W. <wp...@us...> - 2006-01-16 11:53:24
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5109/source/script/core Modified Files: Tag: renderer QxExtend.js Log Message: Removed apply* method from properties Index: QxExtend.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/core/QxExtend.js,v retrieving revision 1.7.2.94 retrieving revision 1.7.2.95 diff -C2 -d -r1.7.2.94 -r1.7.2.95 *** QxExtend.js 16 Jan 2006 11:44:46 -0000 1.7.2.94 --- QxExtend.js 16 Jan 2006 11:53:00 -0000 1.7.2.95 *************** *** 424,456 **** }; - // building applyFoo(): Apply value without checking or converting types - pp[QxConst.INTERNAL_APPLY + p.method] = function(newValue) - { - var oldValue = this[valueKey]; - - if (newValue != oldValue) - { - // Store new value - this[valueKey] = newValue; - - - // Check if there is a modifier implementation - if (typeof this[modifyKey] == QxConst.TYPEOF_FUNCTION) - { - try - { - var r = this[modifyKey](newValue, oldValue, p); - if (!r) { - return this.error("Modification of property \"" + p.name + "\" failed without exception (" + r + ")", modifyKey); - }; - } - catch(ex) - { - return this.error("Modification of property \"" + p.name + "\" failed with exception (" + ex + ")", modifyKey); - }; - }; - }; - }; - // building setFoo(): Setup new value, do type and change detection, converting types, call unit detection, ... pp[QxConst.INTERNAL_SET + p.method] = function(newValue) --- 424,427 ---- |