15-Jul megacz AWT.java: print out color depth
-15-Jul megacz BashTask: print everything on stdout
\ No newline at end of file
+15-Jul megacz BashTask: print everything on stdout
+
+15-Jul megacz JSObject.java: added JSFunction helper
\ No newline at end of file
}
+ // Helper class for defining functions. //////////////////////////////////////
+
+ public static abstract class JSFunction extends JSObject implements Function {
+ JSFunction() { setSeal(true); }
+ public Scriptable construct(Context cx, Scriptable scope, java.lang.Object[] args) { return null; }
+ }
// Trivial Methods ///////////////////////////////////////////////////////////