Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Fixes to mobile JSON API reference

Hi,

I've created mobile javascript code completion/auto complete for Eclipse here:
http://jameslow.com/2010/05/31/titanium-autocomplete-eclipse/

I create this from the JSON API reference file. I've noticed some mistakes that I had to account for manually in my generating script, so I thought I should let you know what I think should be changed.

  1. Some functions have duplicate parameter names like Titanium.App.fireEvent at line 596

  2. Titanium.UI.PickerColumn.addRow and removeRow have parameters in the function name rather than the parameters[] JSON tag at lines 12536 and 12616

  3. Titanium.App.Properties.setInt method has the parameters repeated twice at line 959

Line numbers refer to Mobile SDK 1.3.0

Thanks,
James

— asked May 31st 2010 by James Low
  • json
  • mobilesdk
0 Comments

2 Answers

  • Accepted Answer

    Thanks James. I'll fix all of these and when we release 1.4 we'll regenerate them to fix.

    — answered May 31st 2010 by Jeff Haynie
    permalink
    0 Comments
  • HI Jeff,

    That's great. In addition is it possible for the following link to always point to the latest version of the API reference:
    http://developer.appcelerator.com/apidoc/mobile/latest/api.json

    Instead of having to know the latest version like:
    http://developer.appcelerator.com/apidoc/mobile/1.3/api.json

    That should allow more automation of things that use it.
    Thanks,
    James

    — answered May 31st 2010 by James Low
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.