On Thu, Feb 2, 2012 at 8:47 PM, C Anthony Risinger <[email protected]> wrote:
> On Thu, Feb 2, 2012 at 2:26 PM, lkcl luke <[email protected]> wrote:
>> On Thu, Feb 2, 2012 at 7:53 PM, C Anthony Risinger <[email protected]> wrote:
>>> On Thu, Feb 2, 2012 at 1:30 PM, lkcl luke <[email protected]> wrote:
>>>>
>>>>  if people *do* have it, then it is an indication that they *want* it
>>>> to be loaded.
>>>
>>> hmm, i'm inclined to agree, because i'm against using the same
>>> top-level python for for both translation *and* pyjd (use same libs,
>>> different 15 line kickstart files), but i'm not sure about the HTML
>>> file, because with the exception of the bootstrap JS file, it should
>>> be identical?  CSS, other meta tags, etc ...
>>
>>  yes.  what happens if you leave it in is that "whoops, boostrap.js
>> doesn't exist, oh dear" and you get the effect of success, no
>> duplicate app.
>>
>>  why does this work?  because public/* is supposed to be absolutely
>> identical to output/* .... with the exception of the compiled code.
>
> maybe i've been using output/ instead of public/ in pyjd, and that's
> my issue.  i don't recall off-hand ... seems likely.

 :)  there you go he he.  caught out like a n00b :)  you're asking a
web browser to load some HTML+javascript!  go figure.

 if you look at all the examples they run
"pyjd.setup("./public/....html)" or some of them esp. jsonrpc ones do
http://127.0.0.1/....

 l.

Reply via email to