From 71a570a714da52cbdd0a3a583996e832ca70abd3 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 3 Jul 2012 15:42:18 +0200 Subject: [PATCH] minor update of examples --- examples/lists/countries/js/example.js | 6 +++--- examples/maps/flight_paths/js/example.js | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/lists/countries/js/example.js b/examples/lists/countries/js/example.js index f6b296e1..141f0b0c 100644 --- a/examples/lists/countries/js/example.js +++ b/examples/lists/countries/js/example.js @@ -193,7 +193,7 @@ Ox.load(['UI', 'Geo'], function() { /* This is our search box. To implement "find-as-you-type", we set its - `changeOnKeypress` option to `true`. Otherwise, its change event would + `changeOnKeypress` option to `true`. Otherwise, its `change` event would only fire when the user hits return. */ $find = Ox.Input({ @@ -338,10 +338,10 @@ Ox.load(['UI', 'Geo'], function() { /* This function returns a query, which is an array of conditions and an - operator. Additionally to `find`, which applies to the country's name + operator. Additionally to `find`, which applies to the country's `'name'` property, we add a condition for each `include` setting that is `false`. For example, in order to not include dependencies, we have to add a condition - that tests if the country's `dependency` property is `undefined`. + that tests if the country's `'dependency'` property is `undefined`. */ function getQuery() { var query = { diff --git a/examples/maps/flight_paths/js/example.js b/examples/maps/flight_paths/js/example.js index 4af32702..e366106b 100644 --- a/examples/maps/flight_paths/js/example.js +++ b/examples/maps/flight_paths/js/example.js @@ -6,7 +6,7 @@ coordinates. 'use strict'; /* -Include the image module. +Include the Image module. */ Ox.load('Image', function() { @@ -15,10 +15,10 @@ Ox.load('Image', function() { */ Ox.Image('jpg/earth720.jpg', function(image) { - /* - We want to map the route New York - London - Tokyo - Johannesburg - - Sydney - Sao Paulo - New York. - */ + /* + We want to map the route New York - London - Tokyo - Johannesburg - + Sydney - Sao Paulo - New York. + */ var airports = [ {name: 'JFK', lat: 40.643841, lng: -73.782304}, {name: 'LHR', lat: 51.480902, lng: -0.464773},