From: Richard K. <ric...@us...> - 2005-07-16 22:23:06
|
Update of /cvsroot/actionstep/actionstep/src/org/actionstep In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16842 Modified Files: NSObject.as Log Message: a selector should be a Function Index: NSObject.as =================================================================== RCS file: /cvsroot/actionstep/actionstep/src/org/actionstep/NSObject.as,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** NSObject.as 15 Jul 2005 11:50:34 -0000 1.12 --- NSObject.as 16 Jul 2005 22:22:52 -0000 1.13 *************** *** 149,153 **** public function respondsToSelector(sel:String):Boolean { ! return hasOwnProperty(sel); } } \ No newline at end of file --- 149,153 ---- public function respondsToSelector(sel:String):Boolean { ! return (this[sel] != undefined) && (this[sel] instanceof Function); } } \ No newline at end of file |