Open xxronis opened 9 years ago
Hi, getting
W20150321-02:18:19.609(2)? (STDERR) /Users/chrono/.meteor/packages/meteor-tool/.1.0.41.2vljs8++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:173 W20150321-02:18:19.609(2)? (STDERR) throw(ex); W20150321-02:18:19.609(2)? (STDERR) ^ W20150321-02:18:19.612(2)? (STDERR) ReferenceError: DrupalServices is not defined
for a simple test service on http://local/site/test added the package and on the server:
MySite = new DrupalServices('api', { server: 'http://local/site/test' }); var node = MySite.get('node/1');
what am I missing? thanks
Hi, sorry for the slow response – You should try without the plural "s" on DrupalService :)
DrupalService
Hi, getting
W20150321-02:18:19.609(2)? (STDERR) /Users/chrono/.meteor/packages/meteor-tool/.1.0.41.2vljs8++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:173 W20150321-02:18:19.609(2)? (STDERR) throw(ex); W20150321-02:18:19.609(2)? (STDERR) ^ W20150321-02:18:19.612(2)? (STDERR) ReferenceError: DrupalServices is not defined
for a simple test service on http://local/site/test added the package and on the server:
what am I missing? thanks