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

GroundDB not defined error #2

Closed
chandika opened this issue Jul 24, 2013 · 6 comments
Closed

GroundDB not defined error #2

chandika opened this issue Jul 24, 2013 · 6 comments

Comments

@chandika
Copy link
Contributor

I just added GroundDB via atmosphere and am at v. 0.0.6

On the client upon load I get the following.

Uncaught ReferenceError: GroundDB is not defined groundDB.client.js?3d5309880c1cd0ef4b83fc58ee0ace6f164c4bf1:88
(anonymous function) groundDB.client.js?3d5309880c1cd0ef4b83fc58ee0ace6f164c4bf1:88
(anonymous function) groundDB.client.js?3d5309880c1cd0ef4b83fc58ee0ace6f164c4bf1:436

No code etc. was added to the app itself.

@raix
Copy link

raix commented Jul 24, 2013

Not sure, but its a scope thing... What version of Meteorite and Meteor are you using?

The code should work on new Meteor + the upcoming linker version

@chandika
Copy link
Contributor Author

Using the new Meteor. When I removed "use strict"; from the client code the issue went away.

@raix
Copy link

raix commented Jul 24, 2013

Thanks @chandika I'll investigate - what browser did you use?

@raix raix closed this as completed in ae0e872 Jul 24, 2013
raix pushed a commit that referenced this issue Jul 24, 2013
@raix
Copy link

raix commented Jul 24, 2013

Hi @chandika I've forced GroundDB to be a global - still use strict, I've bumped to version v0.0.7 on atmosphere - Could I get you to test/confirm that version works? I'm using the devel branch of Meteor - there is made some work on scopes for making it work better

@chandika
Copy link
Contributor Author

Hi @raix works fine now on v0.0.7. Was using Chrome 28.0.1500.71 and Meteor 0.6.4.1

Thanks! looking good so far along with @arunoda's SmartCollections

@arunoda
Copy link
Contributor

arunoda commented Jul 25, 2013

Awesome, I was not able to try this yesterday, But this a good news :) Thanks @raix.

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

3 participants