Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RenderCss() blocked the web. #4

Open
johnlian opened this issue Nov 4, 2011 · 3 comments
Open

RenderCss() blocked the web. #4

johnlian opened this issue Nov 4, 2011 · 3 comments

Comments

@johnlian
Copy link

johnlian commented Nov 4, 2011

Moth is a great tool for me. I'm trying to apply it in my project, and i have use it to render javascript successfully. Unfortunately, When i render my css with Html.RenderCss(), The page looks be bloced.

One more question, If my css and javascript located on another static file server, how can i use moth?

man thanks!

@janjongboom
Copy link
Owner

Hi @johnlian,

Do you have a test project that reproduces the blocking RenderCss problem? No one has reported me about this yet.

On the static file server: Moth doesn't support javascript / css file serving from non-filesystem paths. I guess that with a solution like Moth it's no longer necessary to serve javascript / css from your static file server. You may want a seperate cookie less domain, but you can achieve that by just pointing a seperate domain name to the same web server you are currently using and just serving the Moth url's from there. But maybe I'm missing an important case here :-)

Regards,

Jan

@johnlian
Copy link
Author

johnlian commented Nov 7, 2011

Hi @janjongboom.

For the renderCSS problem. I have tried several times, and I found it would be blocked when I register the jquery ui css file,. I had download the source file and decided to debug it to look what happended.

thanks.

John

@janjongboom
Copy link
Owner

Alright, I will see whether I can reproduce this with the jQuery UI CSS file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants