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

Template subs connection #4099

Merged
merged 3 commits into from Apr 2, 2015
Merged

Template subs connection #4099

merged 3 commits into from Apr 2, 2015

Conversation

stubailo
Copy link
Contributor

@stubailo stubailo commented Apr 2, 2015

Add a connection options to template.subscribe, based on @jamgold's pull request.

jamgold and others added 2 commits March 21, 2015 23:32
modified Blaze.TemplateInstance.prototype.subscribe and
Blaze.View.prototype.subscribe
@stubailo
Copy link
Contributor Author

stubailo commented Apr 2, 2015

@Slava take a look?

@stubailo stubailo mentioned this pull request Apr 2, 2015
@Slava
Copy link
Contributor

Slava commented Apr 2, 2015

Are there tests for this change?

@stubailo
Copy link
Contributor Author

stubailo commented Apr 2, 2015

@Slava I modified one of the tests to kind of test this option.

stubailo pushed a commit that referenced this pull request Apr 2, 2015
@stubailo stubailo merged commit 9fe2f4b into devel Apr 2, 2015
@stubailo stubailo deleted the template-subs-connection branch April 2, 2015 00:30
"templateSub", futureId, subscribeCallback);
var subHandle2 = this.subscribe("templateSub", futureId, {
onReady: subscribeCallback,
connection: Meteor.connection
Copy link
Contributor

Choose a reason for hiding this comment

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

@stubailo I am sure this test does not cover a situation where the connection is different from the standard one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants