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

Getting errors when I pass shareData object #26

Open
srinivasmangipudi opened this issue Dec 24, 2014 · 3 comments
Open

Getting errors when I pass shareData object #26

srinivasmangipudi opened this issue Dec 24, 2014 · 3 comments

Comments

@srinivasmangipudi
Copy link

I have defined shareData object in my template helper as specified:

shareData: function() {
return {
title: this.myobj.title,
author: this.myobj.author,
summary: this.myobj.message,
image: this.myobj.imageUrl,
thumbnail: this.myobj.imageUrl,
}
}

but when I am passing this to the shareit template it is giving me the following errors {{>shareit shareData}}

Exception from Tracker afterFlush function: string is not a function
TypeError: string is not a function

Image attached.
screen shot 2014-12-24 at 10 30 27 pm

@queso
Copy link
Member

queso commented Dec 24, 2014

Which version are you running? Check your .meteor/versions file and let me know. This should be fixed in the latest release I put out 2 weeks ago.

--Josh Owens | 513-678-7081 | http://joshowens.me@joshowens

On Wed, Dec 24, 2014 at 12:01 PM, Srinivas Mangipudi
[email protected] wrote:

I have defined shareData object in my template helper as specified:
shareData: function() {
return {
title: this.myobj.title,
author: this.myobj.author,
summary: this.myobj.message,
image: this.myobj.imageUrl,
thumbnail: this.myobj.imageUrl,
}
}
but when I am passing this to the shareit template it is giving me the following errors {{>shareit shareData}}
Exception from Tracker afterFlush function: string is not a function
TypeError: string is not a function
Image attached.

screen shot 2014-12-24 at 10 30 27 pm

Reply to this email directly or view it on GitHub:
#26

@srinivasmangipudi
Copy link
Author

joshowens:[email protected]

I just installed from atmosphere: meteor add joshowens:shareit

@srinivasmangipudi
Copy link
Author

Hi Josh,

We are planning to release an app next week, and I was hoping to be able to
use the shareit package. Was just wondering if there are any chances it
would be fixed by that time to be able to use it? Would be great and very
helpful.

Wishing you a happy new year.

Best
Srinivas

On Wed, Dec 24, 2014 at 10:58 PM, Josh Owens [email protected]
wrote:

Which version are you running? Check your .meteor/versions file and let me
know. This should be fixed in the latest release I put out 2 weeks ago.

--Josh Owens | 513-678-7081 | http://joshowens.me | @joshowens

On Wed, Dec 24, 2014 at 12:01 PM, Srinivas Mangipudi
[email protected] wrote:

I have defined shareData object in my template helper as specified:
shareData: function() {
return {
title: this.myobj.title,
author: this.myobj.author,
summary: this.myobj.message,
image: this.myobj.imageUrl,
thumbnail: this.myobj.imageUrl,
}
}
but when I am passing this to the shareit template it is giving me the
following errors {{>shareit shareData}}
Exception from Tracker afterFlush function: string is not a function
TypeError: string is not a function
Image attached.
screen shot 2014-12-24 at 10 30 27 pm


Reply to this email directly or view it on GitHub:
#26


Reply to this email directly or view it on GitHub
#26 (comment).

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