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.
Some functions have duplicate parameter names like Titanium.App.fireEvent at line 596
Titanium.UI.PickerColumn.addRow and removeRow have parameters in the function name rather than the parameters[] JSON tag at lines 12536 and 12616
Titanium.App.Properties.setInt method has the parameters repeated twice at line 959
Line numbers refer to Mobile SDK 1.3.0
Thanks,
James
2 Answers
-
Accepted Answer
Thanks James. I'll fix all of these and when we release 1.4 we'll regenerate them to fix.
-
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.jsonInstead of having to know the latest version like:
http://developer.appcelerator.com/apidoc/mobile/1.3/api.jsonThat should allow more automation of things that use it.
Thanks,
James