Skip to content
This repository has been archived by the owner on Aug 23, 2019. It is now read-only.

Fixed Namespacing Bug #5

Merged
merged 8 commits into from
Nov 7, 2013
Merged

Fixed Namespacing Bug #5

merged 8 commits into from
Nov 7, 2013

Conversation

tmyrden
Copy link
Contributor

@tmyrden tmyrden commented Nov 4, 2013

Closes #4

Fixed issue with blank namespace.

@nealstewart
Copy link
Contributor

Needs more validation and tests for normalizing the names.

try {
opts.room.key(opts.namespace);
} catch (namespaceErr) {
throw new Error('Invalid namespace option');
Copy link
Contributor

Choose a reason for hiding this comment

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

Be sure to document that namespaces must be valid keys.

@nealstewart
Copy link
Contributor

Great!

LGTM

nealstewart pushed a commit that referenced this pull request Nov 7, 2013
@nealstewart nealstewart merged commit 8ee8211 into master Nov 7, 2013
@nealstewart nealstewart deleted the tmyrden/4-namespace-bug branch November 7, 2013 19:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blank namespace causes invalid key
2 participants