No, our integration with the JavaScript engines is not generally good
enough to allow this. Note that you also can't do this with XHR in
older versions of IE. Same basic situation.

- a

On Tue, Oct 28, 2008 at 12:54 AM, Khookie <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> This is really more of a semantic issue, but I was wondering whether
> there was a way to use mixins for Gears objects.
>
> e.g.:
> GearsDatabase.prototype.scalar = function(query) {
>        var rs = this.execute(query);
>        return rs.isValidRow() ? rs.field(0) : null;
> }
>
> In this case, GearsDatabase.prototype comes back as undefined :-(.
>
> Cheers
>
> Chris
>

Reply via email to