[mochikit] Re: SpiderMonkey and MockDOM Issues

2010-10-07 Thread Kaleb Hornsby
Since MochiKit makes JavaScript a more robust programming language, I
am trying to use both to do some server side programming. That's why
MochiKit provides a MockDOM. I think that overall, it should not be
coupled to the DOM at all.

On Oct 7, 7:54 am, Bob Ippolito  wrote:
> No idea what you're trying to do but it sounds like whoever packaged
> this with Ubuntu did the wrong thing.
>
> Surely there must be an up to date mirror of mochikit on github or
> something that can be used until service is restored.
>
>
>
> On Thu, Oct 7, 2010 at 1:25 AM, Kaleb Hornsby  wrote:
> > I am running Ubuntu and have just discovered MochiKit in the
> > repositories. I attempted to start it with smjs, but I ran into an
> > error. I apparently needed MochiKit.MockDOM. I found it [online] [1]
> > on another site than mochikit's because their track server is down.
> > This seemed rather old. Sure enough, though, I loaded mockdom.js and
> > then loaded mochikit.js and it solved the error, but created another.
>
> > Sample output:
>
> >    $ js
> >    js> load('MochiKit.js')
> >    MochiKit.js:3506: TypeError: this._document has no properties
> >    js> load('MockDOM.js')
> >    js> load('MochiKit.js')
> >    MochiKit.js:4323: ReferenceError: navigator is not defined
> >    js>
>
> > Does somebody have a more recent version of mockdom that works with
> > mochikit?
>
> > [1]:http://bknr.net/trac/browser/trunk/projects/quickhoney/website/static...
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "MochiKit" group.
> > To post to this group, send email to mochi...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > mochikit+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/mochikit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochi...@googlegroups.com.
To unsubscribe from this group, send email to 
mochikit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en.



[mochikit] SpiderMonkey and MockDOM Issues

2010-10-06 Thread Kaleb Hornsby
I am running Ubuntu and have just discovered MochiKit in the
repositories. I attempted to start it with smjs, but I ran into an
error. I apparently needed MochiKit.MockDOM. I found it [online] [1]
on another site than mochikit's because their track server is down.
This seemed rather old. Sure enough, though, I loaded mockdom.js and
then loaded mochikit.js and it solved the error, but created another.

Sample output:

$ js
js> load('MochiKit.js')
MochiKit.js:3506: TypeError: this._document has no properties
js> load('MockDOM.js')
js> load('MochiKit.js')
MochiKit.js:4323: ReferenceError: navigator is not defined
js>

Does somebody have a more recent version of mockdom that works with
mochikit?

[1]: 
http://bknr.net/trac/browser/trunk/projects/quickhoney/website/static/MochiKit/MockDOM.js?rev=2828

-- 
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochi...@googlegroups.com.
To unsubscribe from this group, send email to 
mochikit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en.