Skip to content

Web Worker support. #303

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

Merged
merged 4 commits into from
Jun 26, 2015
Merged

Web Worker support. #303

merged 4 commits into from
Jun 26, 2015

Conversation

qm3ster
Copy link
Contributor

@qm3ster qm3ster commented Jun 23, 2015

Checks for presence of browser environment before attempting document.URL

Checks for presence of browser environment before attempting document.URL
@qm3ster
Copy link
Contributor Author

qm3ster commented Jun 23, 2015

Not sure if I did a potato, literally my first time on GitHub.

@mcollina
Copy link
Member

The CI build failed, can you please resolve the issues?

parsed = _URL.parse(document.URL);

} else {
parsed = 'ws://localhost'; // what should happen if URL is not determinable and not provided?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just throw an exception

@qm3ster
Copy link
Contributor Author

qm3ster commented Jun 26, 2015

Done.
There was also

  if (!opts.hostname) {
    opts.hostnme = opts.host;
  }

(misspelled hostnme)
I changed that too, hope that's ok.

mcollina added a commit that referenced this pull request Jun 26, 2015
@mcollina mcollina merged commit a042321 into mqttjs:master Jun 26, 2015
@mcollina
Copy link
Member

Thanks!!!

@qm3ster qm3ster deleted the patch-1 branch June 29, 2015 09:40
@mcollina mcollina mentioned this pull request Sep 1, 2016
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.

2 participants