[seed] Note to self: need to properly integrate our exceptions with JS



commit 577fc25b8e4b932107f2f3a6b81a27c11d08fea8
Author: Tim Horton <hortont424 gmail com>
Date:   Wed Jan 6 00:04:07 2010 -0500

    Note to self: need to properly integrate our exceptions with JS

 libseed/seed-exceptions.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libseed/seed-exceptions.c b/libseed/seed-exceptions.c
index 565358a..5c72a10 100644
--- a/libseed/seed-exceptions.c
+++ b/libseed/seed-exceptions.c
@@ -64,6 +64,9 @@ seed_make_exception (JSContextRef ctx,
       g_free (mes);
     }
 
+  // TODO: needs to create a global class named 'name', and this needs to
+  // be an instance of it, for integration with normal JS!
+
   exception_obj = JSObjectMake (ctx, 0, NULL);
   seed_object_set_property (ctx, exception_obj, "message", js_message_ref);
   seed_object_set_property (ctx, exception_obj, "name", js_name_ref);



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