cocoafish / cocoafish-javascript-sdk-demo

Demo app showing sample use of the Javascript sdk
http://cocoafish.com
11 stars 4 forks source link

useThreeLegged and checkStatus not longer used? #4

Closed fariazz closed 12 years ago

fariazz commented 12 years ago

In this guide: http://cloud.appcelerator.com/docs/javascrip

it mentions sdk.useThreeLegged and sdk.checkStatus, but they are not in cocoafish-1.2.min.js and I get errors when trying to use them.. not sure what I'm missing here..

fariazz commented 12 years ago

See the methods are not in the server js file: http://sdk.cocoafish.com/js/cocoafish-1.2.js

fariazz commented 12 years ago

Moreover.. I downloaded the demo ZIP file and when opening login.html in Chrome got the same error I get in my own app:

Uncaught TypeError: Object #<Cocoafish> has no method 'useThreeLegged' 
baobeimm commented 12 years ago

Can you please try again. We updated the js file

fariazz commented 12 years ago

hi @baobeimm thanks for getting back to me. Tried with a fresh cache and still getting the same error.

http://sdk.cocoafish.com/js/cocoafish-1.2.js doesn't seem to have changed.

http://sdk.cocoafish.com/js/cocoafish-1.2.min.js is giving 403 error.

ypjin commented 12 years ago

Hi fariazz, cocoafish-1.2.js is not updated. Please use the minified version. Can you please provide the steps to reproduce the 403 error? Thanks!

fariazz commented 12 years ago

Hi @baobeimm the step to get the 403 error is just clicking on this link: http://sdk.cocoafish.com/js/cocoafish-1.2.min.js tried with a clear cache in FF and Chromium.

ypjin commented 12 years ago

It's been fixed. Please try again.

fariazz commented 12 years ago

thanks @baobeimm it's working now!