-
Notifications
You must be signed in to change notification settings - Fork 0
Style Guide
keeto edited this page Sep 13, 2010
·
1 revision
- API. Always use in uppercase.
- Appcelerator. Should always be capitalized.
- Documentation. Capitalize when talking about the Titanium JS-API Documentation, but use in lowercase if talking about documentation as a concept.
- Javascript. Capitalize when talking about the language, but use in lowercase when used in code. Do not use “JavaScript.” Also, use “JS” as an abbreviation and not “Js.”
- Javascript Objects. Native Javascript objects should be used in lowercase (“array” not “Array,” “string” not “String.”). Objects native to Titanium should be capitalized when referring to the object type: “The File object is used to work with a file.” or “The Database object connects to a local database.”
- Titanium. Should always be capitalized. When talking about Titanium as a product, use “Appcelerator Titanium.” When talking about Titanium as a platform, use “Titanium.”