diff --git a/examples/lists/cities/js/example.js b/examples/lists/cities/js/example.js index bfaeb96e..fe9631b7 100644 --- a/examples/lists/cities/js/example.js +++ b/examples/lists/cities/js/example.js @@ -127,23 +127,15 @@ Ox.load({UI: {showScreen: true}, Geo: {}}, function() { `region` or `continent`. */ query: { - conditions: data.value ? [ - { - key: 'name', + conditions: [ + 'name', 'region', 'continent' + ].map(function(key) { + return { + key: key, operator: '=', value: data.value - }, - { - key: 'region', - operator: '=', - value: data.value - }, - { - key: 'continent', - operator: '=', - value: data.value - } - ] : [], + }; + }), operator: '|' } }); diff --git a/examples/maps/ipv4_map_of_the_internet/js/example.js b/examples/maps/ipv4_map_of_the_internet/js/example.js index b82b52be..077d5a3e 100644 --- a/examples/maps/ipv4_map_of_the_internet/js/example.js +++ b/examples/maps/ipv4_map_of_the_internet/js/example.js @@ -1,12 +1,12 @@ /* The code below implements a map widget to navigate a zoomable globe made of tiled images — similar to Google Maps. The catch is that the map doesn't -show the surface of the Earth, but the Internet   instead of geographical +show the surface of the Earth, but the Internet — instead of geographical or political boundaries, it maps the country-wise allocation of the IPv4 address space. -Inline comments, below, are minimal — but the widget has its own "About" -section that explains how it was done. +Inline comments, below, are minimal — but the maps has its own "About" +section that has more information on how it was done. */ 'use strict'; diff --git a/source/Ox.UI/js/Code/DocPanel.js b/source/Ox.UI/js/Code/DocPanel.js index 69da031f..f6c2fdb4 100644 --- a/source/Ox.UI/js/Code/DocPanel.js +++ b/source/Ox.UI/js/Code/DocPanel.js @@ -313,7 +313,7 @@ Ox.DocPanel = function(options, self) { function runTests() { self.$testsButton.remove(); - self.$testsStatus.html('Running tests...').show(); + self.$testsStatus.html('Running Tests...').show(); Ox.load({Geo: {}, Image: {}, Unicode: {}}, function() { Ox.test(self.options.items, function(results) { results.forEach(function(result) {