misc minor changes

This commit is contained in:
rolux 2012-07-04 11:57:27 +02:00
parent a4ce29bff7
commit 459755e51f
3 changed files with 11 additions and 19 deletions

View file

@ -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: '|'
}
});

View file

@ -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';

View file

@ -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) {