Closed blainehansen closed 10 years ago
This issue has been solved. Change Package.on_use
to this:
Package.on_use(function(api) {
api.export('Braintree');
api.add_files('server.js', 'server');
api.add_files('braintree-client.js', 'client');
});
and the Braintree
will be global to the application.
Thx for noticing. Updated and also bumped to latest version of the Braintree package.
I can't access any of the braintree objects, and I've documented the matter in this stack overflow post.
http://stackoverflow.com/questions/22154305/how-to-access-braintree-functionality-from-meteor-server