minor changes

This commit is contained in:
rolux 2012-06-24 19:13:23 +02:00
parent 45e13b0aba
commit 6fcfc2f2d6
2 changed files with 7 additions and 5 deletions

View file

@ -1,5 +1,5 @@
/* /*
This example demonstrates various form elements. This example demonstrates various form elements provided by Ox.UI.
*/ */
'use strict'; 'use strict';

View file

@ -12,13 +12,15 @@ Ox.load({UI: {showScreen: true}, Geo: {}}, function() {
Ox.getJSON('json/cities.json', function(cities) { Ox.getJSON('json/cities.json', function(cities) {
/* /*
The JSON data originally comes from geonames.org. It's an array of The JSON data originally comes from
10,000 city objects, each of which has the following properties: <a href="http://download.geonames.org/export/dump/cities1000.zip">geonames.org</a>.
It's an array of 10,000 city objects, each of which has the following
properties:
<pre> <pre>
{ {
"country_code": "CN", "country&#95;code": "CN",
"elevation": 0, "elevation": 0,
"feature_code": "PPLA", "feature&#95;code": "PPLA",
"latitude": 31.22222, "latitude": 31.22222,
"longitude": 121.45806, "longitude": 121.45806,
"name": "Shanghai", "name": "Shanghai",