I could never seem to get js set-up properly on my machine. So I gave up.

It looks like I need to revisit it.

https://kaleguy.github.io/leoviewer/#/t/1/

Chris

On Tue, Sep 12, 2017 at 9:05 AM, Terry Brown <[email protected]> wrote:

> On Tue, 12 Sep 2017 08:01:47 -0700 (PDT)
> "Edward K. Ream" <[email protected]> wrote:
>
> > In another thread (don't remember where), I said that I wanted to
> > "recreate" Joe Orr's Leo viewer page
> > <https://bl.ocks.org/kaleguy/cef095e16e147bc04dd6c5812d732fb2>, or
> > words to that effect.  The conversation then shifted to discussions
> > about web frameworks, abstraction layers, etc.
> >
> > But I meant something much simpler!  I just want to be able to
> > download the page on my local machine, and have the page work as it
> > does via the link above.  But it doesn't.  Maybe scripts got
> > "disconnected" somehow, or maybe the problem lies in the css. Or
> > somewhere else.
>
> Are you using file:// protocol to access it?  That doesn't work when
> parts of the JS are remote, like d3 at least, in the above.
>
> So just set up a web server on your system and access it through
> that :-)
>
>     python -m SimpleHTTPServer  # Python 2.x
>
> in the root dir. of the project should serve stuff up at
>
>     http://127.0.0.1:8000/
>
> Cheers -Terry
>
> > I've studied the code on the page in a text editor (and anyway, the
> > page displays its own source code). I don't see why things don't
> > "just work".
> >
> > Can anyone explain what is going on, and how to make the local page
> > work like the original? I'm guessing that just a few tweaks would do
> > the job. That would be a big step forward for me.
> >
> > Any volunteers?
> >
> > Edward
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to