Seeing some of the code for your server may help as it is a little hard to
understand your exact issue. Are you statically serving up the index.html
file through another server or also returning it via node? Are you setting
proper content-type headers when returning JavaScript based content?

-- Daniel R. <[email protected]> [http://danielr.neophi.com/]


On Tue, Jan 29, 2013 at 3:01 AM, Alexander Reichstadt <
[email protected]> wrote:

> Hi,
>
> I am currently toying with node.js trying to port my existing js-php page
> to node.js without the php part. I renamed the index.php file to .html and
> eliminated the php pieces. But the page uses jquerymobile. When the server
> did the fs.readFile and posts the response to the client though, the result
> is unrendered, so none of the JQM typical UI widgets are given.
>
> I searched the web but so far failed to understand how exactly I need to
> go about doing such a migration. Why is the content not rendered but just
> printed to the screen?
>
> Thank you
>
>  --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

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


Reply via email to