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

Using this wrapper #1

Open
adim86 opened this issue Mar 17, 2015 · 2 comments
Open

Using this wrapper #1

adim86 opened this issue Mar 17, 2015 · 2 comments

Comments

@adim86
Copy link

adim86 commented Mar 17, 2015

Hi, I just installed meteor and I am trying to use it with parse. I see that your version works with 0.9+ but I do not know how to use this in my app, do you have any documentation for this?

@timmyg
Copy link
Owner

timmyg commented Mar 20, 2015

It should allow access to global Parse object, so you can do it like so (written in coffeescript)...

Meteor.startup ->
  Parse.initialize "nVFEpFpdsfsLtDVOghjxHfToVohUSvGv1u7t", "y6rjPM0J9uLdvedfgdfgrSlWpbHIe4ILiM3"
Contact = Parse.Object.extend("ContactUs")
contact = new Contact()
contact.set "name", name
contact.set "whatup", whatup
contact.save null,
    success: (newsignup) ->
        hideForm("#contact-modal")

@timmyg
Copy link
Owner

timmyg commented Mar 20, 2015

Although, from the looks of this repo, I dont think this is even a valid package anymore, it looks like it somehow turned in to an entire meteor project. Maybe try using or wrapping the npm package, or extracting it from here and creating a real meteor package since I messed something up.

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