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

Update index.html #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update index.html #13

wants to merge 1 commit into from

Conversation

chiangtor
Copy link

The javascripts within the script tags requires dom loaded. So warpped with :

$(function(){
  // existing javascripts.
});

The javascripts  within the <script> tags  requires dom loaded. So warpped with :
```javascript

$(function(){
  // existing javascripts.
});
```
@LOZORD
Copy link

LOZORD commented Jan 16, 2016

Yup, this really needs to pulled in! Was tearing my hair out until I realized this was the fix.

@eduardomazolini
Copy link

eduardomazolini commented Sep 2, 2016

In http://socket.io/get-started/chat/ :

Now in index.html I add the following snippet before the </body>

Please upgrade to "after" or accept the use of "ready" I lost a few hours to find my mistake. Personally I used "ready" as solution.

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

Successfully merging this pull request may close these issues.

3 participants