misc minor changes
This commit is contained in:
parent
a4ce29bff7
commit
459755e51f
3 changed files with 11 additions and 19 deletions
|
@ -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: '|'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue