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

'this' inside this.autorun assign to Window after kadira-debug package is installed #7

Open
solo999 opened this issue Jun 16, 2015 · 2 comments

Comments

@solo999
Copy link

solo999 commented Jun 16, 2015

Template.myTemplate.rendered = function() {         
    this.autorun(function() {
        console.log(this);
    });
});

before kadira-debug installation console.log shows Blaze.view() object,
after - Window

@arunoda
Copy link
Contributor

arunoda commented Jun 16, 2015

Good finding. Yep, that's a bug and can be fixed.

On Tue, Jun 16, 2015 at 11:35 PM VB notifications@github.com wrote:

Template.myTemplate.rendered = function() {

this.autorun(function() {
console.log(this);
});
});

before kadira-debug installation console.log shows Blaze.view() object,
after - Window


Reply to this email directly or view it on GitHub
#7.

@arunoda
Copy link
Contributor

arunoda commented Jun 17, 2015

Fixed with version 1.3.3

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

No branches or pull requests

2 participants