gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/server as_value.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash/server as_value.cpp
Date: Tue, 12 Dec 2006 17:00:30 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/12/12 17:00:30

Modified files:
        server         : as_value.cpp 

Log message:
        cleaned up leftover debugging lines

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.cpp?cvsroot=gnash&r1=1.12&r2=1.13

Patches:
Index: as_value.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/as_value.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- as_value.cpp        12 Dec 2006 16:58:31 -0000      1.12
+++ as_value.cpp        12 Dec 2006 17:00:30 -0000      1.13
@@ -453,13 +453,7 @@
        else
        {
                // convert this value to a primitive and recurse
-               // TODO: implement ``as_value as_value::to_primitive() const''
                return to_primitive() == v;
-
-               // to_primitive is not implemented yet, so
-               // we force conversion to a number
-               // (might as well force conversion to a string though...)
-               return as_value(to_number()) == v;
        }
     }
     else




reply via email to

[Prev in Thread] Current Thread [Next in Thread]