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

Fixing bug where having no data context would break sharing #36

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

Conversation

BruceHubbard
Copy link
Contributor

My editor also stripped out a bunch of white space, sorry about that. This change should make it so if you have no data context it'll still use the current url as the url and the page's title as the title.

@BruceHubbard
Copy link
Contributor Author

@lovetostrike @queso I closed the other pull request, rebased and then reimplemented the no data context fix. Let me know your thoughts/opinions.

@putstrln
Copy link
Contributor

putstrln commented Mar 5, 2015

I think description still needs a 'if' check or it will break the code.

@BruceHubbard
Copy link
Contributor Author

@lovetostrike It didn't break when I tested it out without a data context locally. I think description just ends up being null.

@putstrln
Copy link
Contributor

putstrln commented Mar 6, 2015

@BruceHubbard ah, you're right. Does it still show up as Null when you share it though?

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