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

Rename games.html to index.html #3

Closed
hhzl opened this issue May 1, 2014 · 5 comments
Closed

Rename games.html to index.html #3

hhzl opened this issue May 1, 2014 · 5 comments

Comments

@hhzl
Copy link
Collaborator

hhzl commented May 1, 2014

Remove index.html and
rename games.html to index.html in preparation for publication on gh-pages.

@hhzl hhzl changed the title Rename games.html to index.html Rename games.html to index.html May 1, 2014
@hhzl hhzl changed the title Rename games.html to index.html Rename games.html to index.html May 1, 2014
@bromagosa
Copy link
Owner

http://bromagosa.github.io/Ludus/ is a preview of what will be. I'm working on porting the documentation now.

@bromagosa
Copy link
Owner

Everything is working locally, but when I push it to the server, it doesn't... could you guys take a look? I'm not familiar with what changes have been made to Amber during these years.

@bromagosa
Copy link
Owner

@hhzl
Copy link
Collaborator Author

hhzl commented May 4, 2014

I suspect that github.io does not like files starting with an underscore.

So I put the content of
https://github.com/bromagosa/Ludus/blob/gh-pages/bower_components/amber/support/_st.js

at the end of

https://github.com/bromagosa/Ludus/blob/gh-pages/bower_components/amber/support/amber.js

amber.js is a file which is loaded early. As the function definition

 define("amber_vm/_st", ["./globals", "./nil"], function (globals,

nil) {....]

contained in it will be defined early in the memory of the browser
the file _st will not be requested thus avoid this problem. Requirejs
does not have a problem with modules starting with an underscore.

On 5/4/14, Bernat Romagosa notifications@github.com wrote:

The error is:

GET http://bromagosa.github.io/Ludus/bower_components/amber/support/_st.js
404 (Not Found)

However, the file is there in the repo:

https://github.com/bromagosa/Ludus/blob/gh-pages/bower_components/amber/support/_st.js


Reply to this email directly or view it on GitHub:
#3 (comment)

@hhzl
Copy link
Collaborator Author

hhzl commented May 4, 2014

P.S. Implied in my previous note it that it now works.....

On 5/4/14, H. Hirzel hannes.hirzel@gmail.com wrote:

I suspect that github.io does not like files starting with an underscore.

So I put the content of
https://github.com/bromagosa/Ludus/blob/gh-pages/bower_components/amber/support/_st.js

at the end of

https://github.com/bromagosa/Ludus/blob/gh-pages/bower_components/amber/support/amber.js

amber.js is a file which is loaded early. As the function definition

 define("amber_vm/_st", ["./globals", "./nil"], function (globals,

nil) {....]

contained in it will be defined early in the memory of the browser
the file _st will not be requested thus avoid this problem. Requirejs
does not have a problem with modules starting with an underscore.

On 5/4/14, Bernat Romagosa notifications@github.com wrote:

The error is:

GET
http://bromagosa.github.io/Ludus/bower_components/amber/support/_st.js
404 (Not Found)

However, the file is there in the repo:

https://github.com/bromagosa/Ludus/blob/gh-pages/bower_components/amber/support/_st.js


Reply to this email directly or view it on GitHub:
#3 (comment)

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