2003/11/18 10:47:26
[org.ibex.core.git] / src / org / xwt / js / JSDate.java
index 901ee9d..345e3d4 100644 (file)
@@ -48,7 +48,7 @@ import java.text.SimpleDateFormat;
  * @author Mike McCabe
  * @author Adam Megacz (many modifications
  */
-public class JSDate extends JSCallable {
+public class JSDate extends JS {
 
     public JSDate() {
         if (thisTimeZone == null) {
@@ -896,6 +896,7 @@ public class JSDate extends JSCallable {
     private static double _toNumber(Object[] o, int index) { return JS.toDouble(o[index]); }
     private static double toDouble(double d) { return d; }
 
+    // FIXME: switch to new calling convention here
     public JSDate(JSArray args_) {
         Object[] args = new Object[args_.length()];
         for(int i=0; i<args.length; i++) args[i] = args_.elementAt(i);