forked from 0x2620/oxjs
add some more documentation, pass some more tests
This commit is contained in:
parent
c6d67420a8
commit
f2dbfbd1e5
9 changed files with 589 additions and 494 deletions
|
|
@ -46,9 +46,9 @@ Ox.load.Geo = function(options, callback) {
|
|||
}).length,
|
||||
// Current independent countries without dependencies or disputes
|
||||
Ox.COUNTRIES.filter(function(c) {
|
||||
return !c.dependencies.length && !c.dependency.length &&
|
||||
!c.disputes.length && !c.disputed.length &&
|
||||
!c.dissolved.length && !c.other;
|
||||
return !c.dependencies.length && !c.dependency.length
|
||||
&& !c.disputes.length && !c.disputed.length
|
||||
&& !c.dissolved.length && !c.other;
|
||||
}).length,
|
||||
// Current dependent countries
|
||||
Ox.COUNTRIES.filter(function(c) {
|
||||
|
|
@ -68,9 +68,9 @@ Ox.load.Geo = function(options, callback) {
|
|||
}).length,
|
||||
// Former independent countries without dependencies or disputes
|
||||
Ox.COUNTRIES.filter(function(c) {
|
||||
return !c.dependencies.length && !c.dependency.length &&
|
||||
!c.disputes.length && !c.disputed.length &&
|
||||
c.dissolved.length && !c.other;
|
||||
return !c.dependencies.length && !c.dependency.length
|
||||
&& !c.disputes.length && !c.disputed.length
|
||||
&& c.dissolved.length && !c.other;
|
||||
}).length,
|
||||
// Former dependect countries
|
||||
Ox.COUNTRIES.filter(function(c) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue