Hi again
here is the article

http://cssgallery.info/testing-mootools-apps-using-rhino-shell/

thanks

On Jan 17, 11:30 am, hellspawn <[email protected]> wrote:
> Ok, I think i managed to make it work :)  - at least this seems until
> now -
> I will compile an document and let you know
>
> On Jan 17, 2:14 am, hellspawn <[email protected]> wrote:
>
> > Hi
> > Thanks for your reply
> > I'm almost there :)
>
> > i managed to fix 2 errors -  one i tookit from a comment, and another
> > i managed to fix myself
> > but now I get another one
>
> > js: "mootools.js", line 39: uncaught JavaScript runtime exception:
> > TypeError: Cannot set property "constructor" of undefined to
> > "org.mozilla.javascript.interpretedfunct...@e7b3f2"
> >         at mootools.js:39
>
> > the line that gives this error is
>
> >         if (legacy && initialize) object.prototype = legacy.prototype;
> >         object.prototype.constructor = object; <-- here
>
> > is part of Native
>
> > can someone with a better understanding of mootools , to explain me
> > why ?
>
> > thanks a lot
>
> > On Jan 17, 12:12 am, johnwait <[email protected]> wrote:
>
> > > Here it is:
>
> > >http://ejohn.org/blog/bringing-the-browser-to-the-server/
>
> > > I never played with it, but MooTools should run on it just fine (he
> > > claims jQuery does), as it's mostly used for framework testing (it
> > > will parse html, though without "rendering" it-so forget about
> > > dimensions). There may also be other implementations out there as
> > > well.
>
> > > -Jonathan
>
> > > On Jan 16, 5:55 pm, johnwait <[email protected]> wrote:
>
> > > > If I'm not mistaken John Resig (from JQuery's fame) worked a bit on a
> > > > simulated browser's environment for standalone JS engines. You might
> > > > want to have a look this way...
>
> > > > On Jan 16, 12:56 pm, hellspawn <[email protected]> wrote:
>
> > > > > hi
> > > > > is there any way to be able to run scripts built with mootools under a
> > > > > js shell -  like rhino-spidermonkey ?
> > > > > I am trying to do this and of course I get errors related to missing
> > > > > "window" variable.
>
> > > > > thanks

Reply via email to