Turns out this works just fine. You need to make sure that you change:

(repl/connect "http://localhost:9000/repl";)

In your source to be the correct IP.

David

On Fri, Oct 21, 2011 at 3:39 PM, stratospark <pat...@gmail.com> wrote:

> Thanks for looking into it!
>
> Regarding the issue: "Cannot interact with Browser REPL running in iOS/
> Webkit Mobile devices", I did try it locally on my development machine
> with the iOS simulator and it works fine. For both iPhone and iPad,
> and iOS version 4 and 5. Only on the actual devices, connecting
> through the wireless router, does it give errors.
>
> -pat
>
> On Oct 21, 8:53 am, David Nolen <dnolen.li...@gmail.com> wrote:
> > Hmm I get no errors. But it doesn't work. I agree that would be a *real*
> > killer app for ClojureScript. Debugging JS on mobile browsers is a big
> pain.
> >
> > I will try looking into it if no one else gets to it first, ticket
> createdhttp://dev.clojure.org/jira/browse/CLJS-92
> >
> > David
> >
> >
> >
> >
> >
> >
> >
> > On Thu, Oct 20, 2011 at 6:10 PM, stratospark <pat...@gmail.com> wrote:
> > > Is the clojurescript REPL set up to allow access from remote machines?
> > > My development box is all set up, and I'm able to connect to the REPL
> > > from OSX Safari and Simulated Mobile Safari. Everything is localhost,
> > > so it all works great.
> >
> > > I'm currently able to use my iPad and iPhone to access my devbox's web
> > > server on the local wireless network, so I thought the browser REPL
> > > would just work. When I turn on the iPad debug console, I get one or
> > > more of the following errors:
> >
> > > JavaScript: Error
> > > undefined
> > > TypeError: 'undefined' is not a constructor
> >
> > > I've tried turning off the firewall. I've tried changing the hostname
> > > to a number of ips and local network names, i.e. (repl/connect "http://
> > > 0.0.0.0:9000/repl").
> >
> > > Has anyone had success with this? I really sense a great environment
> > > for developing mobile web apps!
> >
> > > -pat
> >
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Clojure" group.
> > > To post to this group, send email to clojure@googlegroups.com
> > > Note that posts from new members are moderated - please be patient with
> > > your first post.
> > > To unsubscribe from this group, send email to
> > > clojure+unsubscr...@googlegroups.com
> > > For more options, visit this group at
> > >http://groups.google.com/group/clojure?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to