diff --git a/build/Ox.UI/themes/classic/svg/symbolZoom.svg b/build/Ox.UI/themes/classic/svg/symbolZoom.svg deleted file mode 120000 index 3a78f3fd..00000000 --- a/build/Ox.UI/themes/classic/svg/symbolZoom.svg +++ /dev/null @@ -1 +0,0 @@ -../../../../../source/Ox.UI/themes/classic/svg/symbolZoom.svg \ No newline at end of file diff --git a/docs/api.js b/docs/api.js deleted file mode 100644 index 030482e0..00000000 --- a/docs/api.js +++ /dev/null @@ -1,262 +0,0 @@ -/*** - OxUI Documentation -***/ -var app = {}; -Ox.load('UI', {debug: true}, function() { - app.$body = $('body'); - app.$document = $(document); - app.$window = $(window); - - app.$ui = {}; - app.docstrings = {}; - - $("
').html(app.docstrings[doc.name]).appendTo($div);
-
- if(doc.options) {
- var $options = $('').html("Options: ")
- .css({'marginBottom': '20px'})
- .appendTo($div);
- var $table = $('').attr({'cellpadding': '4'})
- .appendTo($options);
- Ox.keys(doc.options).forEach(function(k) {
- var $option = $('');
- cell(k).appendTo($option);
- if(typeof(doc.options[k]) != 'undefined') {
- cell(typeof doc.options[k]).appendTo($option);
- if(Ox.isNull(doc.options[k]))
- cell(' null').appendTo($option);
- else
- cell(' ' + doc.options[k].toString() + '').appendTo($option);
- } else {
- cell(' ').appendTo($option);
- cell('required, no default value').appendTo($option);
- }
- $option.appendTo($options);
- });
- }
-
- var methods = Ox.keys(doc.methods);
- if (methods.length > 0) {
- var $methods = $('').html("Methods:").appendTo($div);
- methods.forEach(function(m) {
- var $method = $('').appendTo($methods);
- var $code = $('').html(doc.methods[m]).hide();
- var options = /function \((.*?)\)/.exec(doc.methods[m]);
- var lable = new Ox.Label({
- title: m + '('+options[1]+')',
- width: 190
- })
- .css({'float': 'left', 'margin-right': '4px'})
- .addClass("margin")
- .appendTo($method);
- var $button = new Ox.Button({
- title: [
- {id: "one", title: "expand"},
- {id: "two", title: "collapse"},
- ],
- type: "image"
- })
- .addClass("margin")
- .appendTo($method)
- .click(function() { $code.toggle()});
- $code.appendTo($method);
- });
- }
-
- if(doc.functionString) {
- var $methodcode = $('').html(doc.functionString.replace(/').html(' View Source').appendTo($div)
- $methodcode.appendTo($div);
- }
- return $div;
-}
-
-function getObjectByName(obj, name) {
- var ret = false;
- obj.forEach(function(o) {
- if (o.name == name) {
- ret = o;
- }
- });
- return ret;
-}
-
-function getDocsJSON() {
- var ret = [],
- keys = Ox.keys(Ox);
- keys.forEach(function(v) {
- if (doc = getDoc(v)) {
- ret.push(doc);
- } else {
- $.noop();
- }
- });
- return ret;
-
- function getDoc(key) {
- //FIXME: eventually we want to document all Ox values and functions
- if (!/^[A-Z][a-z]/.test(key)) {
- return false
- }
- var functionString = Ox[key].toString();
- if (typeof Ox[key] != 'function') {
- return {
- 'name': key,
- 'functionString': functionString
- }
- }
- try {
- var o = new Ox[key]();
- } catch(err) {
- return {
- 'name': key,
- 'functionString': functionString
- }
- }
- var methods = {};
- var opts = {};
- if ('options' in o && typeof o['options'] == 'function') {
- var opts = o.options();
- //only inclue methods that are defined in the function
- var _methods = Ox.filter(Ox.keys(o), function(m) { return (functionString.indexOf('that.'+m+' =') > -1 && typeof o[m] === 'function')});
- $.each(_methods, function(i, m) { methods[m] = o[m].toString() });
- }
- return {
- 'name': key,
- 'options': opts,
- 'methods': methods,
- 'functionString': functionString
- }
- }
-}
-
diff --git a/docs/index.html b/docs/index.html
deleted file mode 100644
index f877ff95..00000000
--- a/docs/index.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- oxjs API
-
-
-
-
-
-
-
-
diff --git a/source/Ox.Geo/png/flags/32/PZPA.png b/source/Ox.Geo/png/flags/32/PZPA.png
index 41590178..2d18c62b 100644
Binary files a/source/Ox.Geo/png/flags/32/PZPA.png and b/source/Ox.Geo/png/flags/32/PZPA.png differ
diff --git a/source/Ox.Geo/png/icons/16/PZPA.png b/source/Ox.Geo/png/icons/16/PZPA.png
index b76a68d1..23d72397 100644
Binary files a/source/Ox.Geo/png/icons/16/PZPA.png and b/source/Ox.Geo/png/icons/16/PZPA.png differ
diff --git a/source/Ox.Geo/svg/flags/AC.svg b/source/Ox.Geo/svg/flags/AC.svg
deleted file mode 100644
index 36c98897..00000000
--- a/source/Ox.Geo/svg/flags/AC.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/AD.svg b/source/Ox.Geo/svg/flags/AD.svg
deleted file mode 100644
index 35f996f0..00000000
--- a/source/Ox.Geo/svg/flags/AD.svg
+++ /dev/null
@@ -1,1148 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/AE.svg b/source/Ox.Geo/svg/flags/AE.svg
deleted file mode 100644
index 04e869d6..00000000
--- a/source/Ox.Geo/svg/flags/AE.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/AF.svg b/source/Ox.Geo/svg/flags/AF.svg
deleted file mode 100644
index 12dc2cc0..00000000
--- a/source/Ox.Geo/svg/flags/AF.svg
+++ /dev/null
@@ -1,2092 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/AG.svg b/source/Ox.Geo/svg/flags/AG.svg
deleted file mode 100644
index f0829376..00000000
--- a/source/Ox.Geo/svg/flags/AG.svg
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/AI.svg b/source/Ox.Geo/svg/flags/AI.svg
deleted file mode 100644
index f52e27e4..00000000
--- a/source/Ox.Geo/svg/flags/AI.svg
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-]>
-
diff --git a/source/Ox.Geo/svg/flags/AIDJ.svg b/source/Ox.Geo/svg/flags/AIDJ.svg
deleted file mode 100644
index 0baf7f3b..00000000
--- a/source/Ox.Geo/svg/flags/AIDJ.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/AL.svg b/source/Ox.Geo/svg/flags/AL.svg
deleted file mode 100644
index b712019a..00000000
--- a/source/Ox.Geo/svg/flags/AL.svg
+++ /dev/null
@@ -1,83 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/AM.svg b/source/Ox.Geo/svg/flags/AM.svg
deleted file mode 100644
index 32a94aed..00000000
--- a/source/Ox.Geo/svg/flags/AM.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/ANHH.svg b/source/Ox.Geo/svg/flags/ANHH.svg
deleted file mode 100644
index c832b29a..00000000
--- a/source/Ox.Geo/svg/flags/ANHH.svg
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/AO.svg b/source/Ox.Geo/svg/flags/AO.svg
deleted file mode 100644
index 5dacf2d5..00000000
--- a/source/Ox.Geo/svg/flags/AO.svg
+++ /dev/null
@@ -1,20 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/AQ.svg b/source/Ox.Geo/svg/flags/AQ.svg
deleted file mode 100644
index e48cb86f..00000000
--- a/source/Ox.Geo/svg/flags/AQ.svg
+++ /dev/null
@@ -1,167 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/AR-AQ.svg b/source/Ox.Geo/svg/flags/AR-AQ.svg
deleted file mode 100644
index 6db9d194..00000000
--- a/source/Ox.Geo/svg/flags/AR-AQ.svg
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/AR.svg b/source/Ox.Geo/svg/flags/AR.svg
deleted file mode 100644
index bc9f9e7f..00000000
--- a/source/Ox.Geo/svg/flags/AR.svg
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/AS.svg b/source/Ox.Geo/svg/flags/AS.svg
deleted file mode 100644
index 9abcc722..00000000
--- a/source/Ox.Geo/svg/flags/AS.svg
+++ /dev/null
@@ -1,154 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/AT.svg b/source/Ox.Geo/svg/flags/AT.svg
deleted file mode 100644
index 83eddedf..00000000
--- a/source/Ox.Geo/svg/flags/AT.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/AU-AC.svg b/source/Ox.Geo/svg/flags/AU-AC.svg
deleted file mode 100644
index 043b7a92..00000000
--- a/source/Ox.Geo/svg/flags/AU-AC.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/AU-AQ.svg b/source/Ox.Geo/svg/flags/AU-AQ.svg
deleted file mode 100644
index 043b7a92..00000000
--- a/source/Ox.Geo/svg/flags/AU-AQ.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/AU-CS.svg b/source/Ox.Geo/svg/flags/AU-CS.svg
deleted file mode 100644
index 043b7a92..00000000
--- a/source/Ox.Geo/svg/flags/AU-CS.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/AU.svg b/source/Ox.Geo/svg/flags/AU.svg
deleted file mode 100644
index 043b7a92..00000000
--- a/source/Ox.Geo/svg/flags/AU.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/AW.svg b/source/Ox.Geo/svg/flags/AW.svg
deleted file mode 100644
index 753f5a99..00000000
--- a/source/Ox.Geo/svg/flags/AW.svg
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/AX.svg b/source/Ox.Geo/svg/flags/AX.svg
deleted file mode 100644
index 6c54c344..00000000
--- a/source/Ox.Geo/svg/flags/AX.svg
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/AZ-NK.svg b/source/Ox.Geo/svg/flags/AZ-NK.svg
deleted file mode 100644
index 5946ab8f..00000000
--- a/source/Ox.Geo/svg/flags/AZ-NK.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/AZ.svg b/source/Ox.Geo/svg/flags/AZ.svg
deleted file mode 100644
index d07ad86d..00000000
--- a/source/Ox.Geo/svg/flags/AZ.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/BA.svg b/source/Ox.Geo/svg/flags/BA.svg
deleted file mode 100644
index 77f91233..00000000
--- a/source/Ox.Geo/svg/flags/BA.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/BB.svg b/source/Ox.Geo/svg/flags/BB.svg
deleted file mode 100644
index e15ff154..00000000
--- a/source/Ox.Geo/svg/flags/BB.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/BD.svg b/source/Ox.Geo/svg/flags/BD.svg
deleted file mode 100644
index 52d52c69..00000000
--- a/source/Ox.Geo/svg/flags/BD.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/BE.svg b/source/Ox.Geo/svg/flags/BE.svg
deleted file mode 100644
index 1ee6e808..00000000
--- a/source/Ox.Geo/svg/flags/BE.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/BF.svg b/source/Ox.Geo/svg/flags/BF.svg
deleted file mode 100644
index 06ff0db4..00000000
--- a/source/Ox.Geo/svg/flags/BF.svg
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/BG.svg b/source/Ox.Geo/svg/flags/BG.svg
deleted file mode 100644
index 7af9ccec..00000000
--- a/source/Ox.Geo/svg/flags/BG.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/BH.svg b/source/Ox.Geo/svg/flags/BH.svg
deleted file mode 100644
index 09405ade..00000000
--- a/source/Ox.Geo/svg/flags/BH.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/BI.svg b/source/Ox.Geo/svg/flags/BI.svg
deleted file mode 100644
index f2967f89..00000000
--- a/source/Ox.Geo/svg/flags/BI.svg
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/BJ.svg b/source/Ox.Geo/svg/flags/BJ.svg
deleted file mode 100644
index f91963d3..00000000
--- a/source/Ox.Geo/svg/flags/BJ.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/BL.svg b/source/Ox.Geo/svg/flags/BL.svg
deleted file mode 100644
index 1ce29fa4..00000000
--- a/source/Ox.Geo/svg/flags/BL.svg
+++ /dev/null
@@ -1,4055 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/BM.svg b/source/Ox.Geo/svg/flags/BM.svg
deleted file mode 100644
index 07cc3c44..00000000
--- a/source/Ox.Geo/svg/flags/BM.svg
+++ /dev/null
@@ -1,362 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/BN.svg b/source/Ox.Geo/svg/flags/BN.svg
deleted file mode 100644
index abf36f79..00000000
--- a/source/Ox.Geo/svg/flags/BN.svg
+++ /dev/null
@@ -1,94 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/BO.svg b/source/Ox.Geo/svg/flags/BO.svg
deleted file mode 100644
index aae87924..00000000
--- a/source/Ox.Geo/svg/flags/BO.svg
+++ /dev/null
@@ -1,4069 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/BQ.svg b/source/Ox.Geo/svg/flags/BQ.svg
deleted file mode 100644
index 83211d7a..00000000
--- a/source/Ox.Geo/svg/flags/BQ.svg
+++ /dev/null
@@ -1,187 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/BQAQ.svg b/source/Ox.Geo/svg/flags/BQAQ.svg
deleted file mode 100644
index 2ee2ba37..00000000
--- a/source/Ox.Geo/svg/flags/BQAQ.svg
+++ /dev/null
@@ -1,2380 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/BR.svg b/source/Ox.Geo/svg/flags/BR.svg
deleted file mode 100644
index 9766a9ec..00000000
--- a/source/Ox.Geo/svg/flags/BR.svg
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/BS.svg b/source/Ox.Geo/svg/flags/BS.svg
deleted file mode 100644
index d2b3b6f0..00000000
--- a/source/Ox.Geo/svg/flags/BS.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/BT.svg b/source/Ox.Geo/svg/flags/BT.svg
deleted file mode 100644
index ad1e12b4..00000000
--- a/source/Ox.Geo/svg/flags/BT.svg
+++ /dev/null
@@ -1,1867 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/BUMM.svg b/source/Ox.Geo/svg/flags/BUMM.svg
deleted file mode 100644
index 9e93f1f6..00000000
--- a/source/Ox.Geo/svg/flags/BUMM.svg
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/BV.svg b/source/Ox.Geo/svg/flags/BV.svg
deleted file mode 100644
index ec2bd8de..00000000
--- a/source/Ox.Geo/svg/flags/BV.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/BW.svg b/source/Ox.Geo/svg/flags/BW.svg
deleted file mode 100644
index f1c1c5ff..00000000
--- a/source/Ox.Geo/svg/flags/BW.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/BY.svg b/source/Ox.Geo/svg/flags/BY.svg
deleted file mode 100644
index bb1dfa78..00000000
--- a/source/Ox.Geo/svg/flags/BY.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/BYAA.svg b/source/Ox.Geo/svg/flags/BYAA.svg
deleted file mode 100644
index 7ddffb38..00000000
--- a/source/Ox.Geo/svg/flags/BYAA.svg
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
-
-
-
-
-]>
-
diff --git a/source/Ox.Geo/svg/flags/BZ.svg b/source/Ox.Geo/svg/flags/BZ.svg
deleted file mode 100644
index bdcd198f..00000000
--- a/source/Ox.Geo/svg/flags/BZ.svg
+++ /dev/null
@@ -1,2379 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/CA.svg b/source/Ox.Geo/svg/flags/CA.svg
deleted file mode 100644
index 137eced6..00000000
--- a/source/Ox.Geo/svg/flags/CA.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/CC.svg b/source/Ox.Geo/svg/flags/CC.svg
deleted file mode 100644
index 14545a90..00000000
--- a/source/Ox.Geo/svg/flags/CC.svg
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/CD.svg b/source/Ox.Geo/svg/flags/CD.svg
deleted file mode 100644
index f52e8037..00000000
--- a/source/Ox.Geo/svg/flags/CD.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/CF.svg b/source/Ox.Geo/svg/flags/CF.svg
deleted file mode 100644
index b721e956..00000000
--- a/source/Ox.Geo/svg/flags/CF.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/CG.svg b/source/Ox.Geo/svg/flags/CG.svg
deleted file mode 100644
index d5623f57..00000000
--- a/source/Ox.Geo/svg/flags/CG.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/CH.svg b/source/Ox.Geo/svg/flags/CH.svg
deleted file mode 100644
index 70b49041..00000000
--- a/source/Ox.Geo/svg/flags/CH.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/CI.svg b/source/Ox.Geo/svg/flags/CI.svg
deleted file mode 100644
index 5efdadb1..00000000
--- a/source/Ox.Geo/svg/flags/CI.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/CK.svg b/source/Ox.Geo/svg/flags/CK.svg
deleted file mode 100644
index 214a404f..00000000
--- a/source/Ox.Geo/svg/flags/CK.svg
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/CL-AQ.svg b/source/Ox.Geo/svg/flags/CL-AQ.svg
deleted file mode 100644
index 0bc23344..00000000
--- a/source/Ox.Geo/svg/flags/CL-AQ.svg
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/CL.svg b/source/Ox.Geo/svg/flags/CL.svg
deleted file mode 100644
index 885743eb..00000000
--- a/source/Ox.Geo/svg/flags/CL.svg
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/CM.svg b/source/Ox.Geo/svg/flags/CM.svg
deleted file mode 100644
index 8c01757e..00000000
--- a/source/Ox.Geo/svg/flags/CM.svg
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/CN.svg b/source/Ox.Geo/svg/flags/CN.svg
deleted file mode 100644
index b4cd4673..00000000
--- a/source/Ox.Geo/svg/flags/CN.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/CO.svg b/source/Ox.Geo/svg/flags/CO.svg
deleted file mode 100644
index bbcb260e..00000000
--- a/source/Ox.Geo/svg/flags/CO.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/CP.svg b/source/Ox.Geo/svg/flags/CP.svg
deleted file mode 100644
index 0baf7f3b..00000000
--- a/source/Ox.Geo/svg/flags/CP.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/CR.svg b/source/Ox.Geo/svg/flags/CR.svg
deleted file mode 100644
index 8492235d..00000000
--- a/source/Ox.Geo/svg/flags/CR.svg
+++ /dev/null
@@ -1,1573 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/CSHH.svg b/source/Ox.Geo/svg/flags/CSHH.svg
deleted file mode 100644
index 1cfe642a..00000000
--- a/source/Ox.Geo/svg/flags/CSHH.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/CSXX.svg b/source/Ox.Geo/svg/flags/CSXX.svg
deleted file mode 100644
index 7a41abae..00000000
--- a/source/Ox.Geo/svg/flags/CSXX.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/CTKI.svg b/source/Ox.Geo/svg/flags/CTKI.svg
deleted file mode 100644
index b4b450a1..00000000
--- a/source/Ox.Geo/svg/flags/CTKI.svg
+++ /dev/null
@@ -1,200 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/CU.svg b/source/Ox.Geo/svg/flags/CU.svg
deleted file mode 100644
index 56bacc89..00000000
--- a/source/Ox.Geo/svg/flags/CU.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/CV.svg b/source/Ox.Geo/svg/flags/CV.svg
deleted file mode 100644
index c334d0bb..00000000
--- a/source/Ox.Geo/svg/flags/CV.svg
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/CW.svg b/source/Ox.Geo/svg/flags/CW.svg
deleted file mode 100644
index 9dea687b..00000000
--- a/source/Ox.Geo/svg/flags/CW.svg
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/CX.svg b/source/Ox.Geo/svg/flags/CX.svg
deleted file mode 100644
index a6037fed..00000000
--- a/source/Ox.Geo/svg/flags/CX.svg
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/CY-NC.svg b/source/Ox.Geo/svg/flags/CY-NC.svg
deleted file mode 100644
index c1e68f70..00000000
--- a/source/Ox.Geo/svg/flags/CY-NC.svg
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/CY.svg b/source/Ox.Geo/svg/flags/CY.svg
deleted file mode 100644
index 0f66bb29..00000000
--- a/source/Ox.Geo/svg/flags/CY.svg
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/CZ.svg b/source/Ox.Geo/svg/flags/CZ.svg
deleted file mode 100644
index 51bf4fb7..00000000
--- a/source/Ox.Geo/svg/flags/CZ.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/DDDE.svg b/source/Ox.Geo/svg/flags/DDDE.svg
deleted file mode 100644
index 7ddecc73..00000000
--- a/source/Ox.Geo/svg/flags/DDDE.svg
+++ /dev/null
@@ -1,1268 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/DE.svg b/source/Ox.Geo/svg/flags/DE.svg
deleted file mode 100644
index 65e9a01a..00000000
--- a/source/Ox.Geo/svg/flags/DE.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/DEDE.svg b/source/Ox.Geo/svg/flags/DEDE.svg
deleted file mode 100644
index 65e9a01a..00000000
--- a/source/Ox.Geo/svg/flags/DEDE.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/DG.svg b/source/Ox.Geo/svg/flags/DG.svg
deleted file mode 100644
index 4527e19d..00000000
--- a/source/Ox.Geo/svg/flags/DG.svg
+++ /dev/null
@@ -1,999 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/DJ.svg b/source/Ox.Geo/svg/flags/DJ.svg
deleted file mode 100644
index 456186bd..00000000
--- a/source/Ox.Geo/svg/flags/DJ.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/DK.svg b/source/Ox.Geo/svg/flags/DK.svg
deleted file mode 100644
index 76e6b74e..00000000
--- a/source/Ox.Geo/svg/flags/DK.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/DM.svg b/source/Ox.Geo/svg/flags/DM.svg
deleted file mode 100644
index eabe0320..00000000
--- a/source/Ox.Geo/svg/flags/DM.svg
+++ /dev/null
@@ -1,114 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/DO.svg b/source/Ox.Geo/svg/flags/DO.svg
deleted file mode 100644
index b94f4076..00000000
--- a/source/Ox.Geo/svg/flags/DO.svg
+++ /dev/null
@@ -1,1274 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/DYBJ.svg b/source/Ox.Geo/svg/flags/DYBJ.svg
deleted file mode 100644
index f91963d3..00000000
--- a/source/Ox.Geo/svg/flags/DYBJ.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/DZ.svg b/source/Ox.Geo/svg/flags/DZ.svg
deleted file mode 100644
index 00d46638..00000000
--- a/source/Ox.Geo/svg/flags/DZ.svg
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/EA.svg b/source/Ox.Geo/svg/flags/EA.svg
deleted file mode 100644
index 2041c7aa..00000000
--- a/source/Ox.Geo/svg/flags/EA.svg
+++ /dev/null
@@ -1,3036 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/EC.svg b/source/Ox.Geo/svg/flags/EC.svg
deleted file mode 100644
index 76856672..00000000
--- a/source/Ox.Geo/svg/flags/EC.svg
+++ /dev/null
@@ -1,18208 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/EE.svg b/source/Ox.Geo/svg/flags/EE.svg
deleted file mode 100644
index 997027fd..00000000
--- a/source/Ox.Geo/svg/flags/EE.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/EG.svg b/source/Ox.Geo/svg/flags/EG.svg
deleted file mode 100644
index a0ddbfd6..00000000
--- a/source/Ox.Geo/svg/flags/EG.svg
+++ /dev/null
@@ -1,276 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/EH.svg b/source/Ox.Geo/svg/flags/EH.svg
deleted file mode 100644
index 2524f637..00000000
--- a/source/Ox.Geo/svg/flags/EH.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/ER.svg b/source/Ox.Geo/svg/flags/ER.svg
deleted file mode 100644
index 5a7d7569..00000000
--- a/source/Ox.Geo/svg/flags/ER.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/ES.svg b/source/Ox.Geo/svg/flags/ES.svg
deleted file mode 100644
index 872f198b..00000000
--- a/source/Ox.Geo/svg/flags/ES.svg
+++ /dev/null
@@ -1,631 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/ET.svg b/source/Ox.Geo/svg/flags/ET.svg
deleted file mode 100644
index bac3fc65..00000000
--- a/source/Ox.Geo/svg/flags/ET.svg
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/EU.svg b/source/Ox.Geo/svg/flags/EU.svg
deleted file mode 100644
index 26179409..00000000
--- a/source/Ox.Geo/svg/flags/EU.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/FI.svg b/source/Ox.Geo/svg/flags/FI.svg
deleted file mode 100644
index e7f293bf..00000000
--- a/source/Ox.Geo/svg/flags/FI.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/FJ.svg b/source/Ox.Geo/svg/flags/FJ.svg
deleted file mode 100644
index 7dc68397..00000000
--- a/source/Ox.Geo/svg/flags/FJ.svg
+++ /dev/null
@@ -1,1045 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/FK.svg b/source/Ox.Geo/svg/flags/FK.svg
deleted file mode 100644
index 2c733eb5..00000000
--- a/source/Ox.Geo/svg/flags/FK.svg
+++ /dev/null
@@ -1,1634 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/FM.svg b/source/Ox.Geo/svg/flags/FM.svg
deleted file mode 100644
index b120e665..00000000
--- a/source/Ox.Geo/svg/flags/FM.svg
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/FO.svg b/source/Ox.Geo/svg/flags/FO.svg
deleted file mode 100644
index 0e1c6fe5..00000000
--- a/source/Ox.Geo/svg/flags/FO.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/FQHH.svg b/source/Ox.Geo/svg/flags/FQHH.svg
deleted file mode 100644
index 25a37fea..00000000
--- a/source/Ox.Geo/svg/flags/FQHH.svg
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/FR-AQ.svg b/source/Ox.Geo/svg/flags/FR-AQ.svg
deleted file mode 100644
index 25a37fea..00000000
--- a/source/Ox.Geo/svg/flags/FR-AQ.svg
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/FR.svg b/source/Ox.Geo/svg/flags/FR.svg
deleted file mode 100644
index 0baf7f3b..00000000
--- a/source/Ox.Geo/svg/flags/FR.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/FXFR.svg b/source/Ox.Geo/svg/flags/FXFR.svg
deleted file mode 100644
index 0baf7f3b..00000000
--- a/source/Ox.Geo/svg/flags/FXFR.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/GA.svg b/source/Ox.Geo/svg/flags/GA.svg
deleted file mode 100644
index b549ddfa..00000000
--- a/source/Ox.Geo/svg/flags/GA.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/GB-AD.svg b/source/Ox.Geo/svg/flags/GB-AD.svg
deleted file mode 100644
index 36c98897..00000000
--- a/source/Ox.Geo/svg/flags/GB-AD.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/GB-ENG.svg b/source/Ox.Geo/svg/flags/GB-ENG.svg
deleted file mode 100644
index 981808e1..00000000
--- a/source/Ox.Geo/svg/flags/GB-ENG.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/GB-NIR.svg b/source/Ox.Geo/svg/flags/GB-NIR.svg
deleted file mode 100644
index b633541d..00000000
--- a/source/Ox.Geo/svg/flags/GB-NIR.svg
+++ /dev/null
@@ -1,219 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/GB-SCT.svg b/source/Ox.Geo/svg/flags/GB-SCT.svg
deleted file mode 100644
index de294489..00000000
--- a/source/Ox.Geo/svg/flags/GB-SCT.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/GB-WLS.svg b/source/Ox.Geo/svg/flags/GB-WLS.svg
deleted file mode 100644
index 1703fc7e..00000000
--- a/source/Ox.Geo/svg/flags/GB-WLS.svg
+++ /dev/null
@@ -1,622 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/GB.svg b/source/Ox.Geo/svg/flags/GB.svg
deleted file mode 100644
index 36c98897..00000000
--- a/source/Ox.Geo/svg/flags/GB.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/GD.svg b/source/Ox.Geo/svg/flags/GD.svg
deleted file mode 100644
index c23cfbb4..00000000
--- a/source/Ox.Geo/svg/flags/GD.svg
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/GE-AB.svg b/source/Ox.Geo/svg/flags/GE-AB.svg
deleted file mode 100644
index 25b76fea..00000000
--- a/source/Ox.Geo/svg/flags/GE-AB.svg
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/GE-SO.svg b/source/Ox.Geo/svg/flags/GE-SO.svg
deleted file mode 100644
index 84a90abb..00000000
--- a/source/Ox.Geo/svg/flags/GE-SO.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/GE.svg b/source/Ox.Geo/svg/flags/GE.svg
deleted file mode 100644
index 8e3e0189..00000000
--- a/source/Ox.Geo/svg/flags/GE.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/GEHH.svg b/source/Ox.Geo/svg/flags/GEHH.svg
deleted file mode 100644
index b4b450a1..00000000
--- a/source/Ox.Geo/svg/flags/GEHH.svg
+++ /dev/null
@@ -1,200 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/GF.svg b/source/Ox.Geo/svg/flags/GF.svg
deleted file mode 100644
index c29ca071..00000000
--- a/source/Ox.Geo/svg/flags/GF.svg
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/GG.svg b/source/Ox.Geo/svg/flags/GG.svg
deleted file mode 100644
index 1973856f..00000000
--- a/source/Ox.Geo/svg/flags/GG.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/GH.svg b/source/Ox.Geo/svg/flags/GH.svg
deleted file mode 100644
index 4f7c92db..00000000
--- a/source/Ox.Geo/svg/flags/GH.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/GI.svg b/source/Ox.Geo/svg/flags/GI.svg
deleted file mode 100644
index aadfa540..00000000
--- a/source/Ox.Geo/svg/flags/GI.svg
+++ /dev/null
@@ -1,305 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/GL.svg b/source/Ox.Geo/svg/flags/GL.svg
deleted file mode 100644
index 739b1c40..00000000
--- a/source/Ox.Geo/svg/flags/GL.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/GM.svg b/source/Ox.Geo/svg/flags/GM.svg
deleted file mode 100644
index af2b4dd8..00000000
--- a/source/Ox.Geo/svg/flags/GM.svg
+++ /dev/null
@@ -1,2 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/GN.svg b/source/Ox.Geo/svg/flags/GN.svg
deleted file mode 100644
index ad80df0e..00000000
--- a/source/Ox.Geo/svg/flags/GN.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/GP.svg b/source/Ox.Geo/svg/flags/GP.svg
deleted file mode 100644
index 373cfad5..00000000
--- a/source/Ox.Geo/svg/flags/GP.svg
+++ /dev/null
@@ -1,345 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/GQ.svg b/source/Ox.Geo/svg/flags/GQ.svg
deleted file mode 100644
index c7b03822..00000000
--- a/source/Ox.Geo/svg/flags/GQ.svg
+++ /dev/null
@@ -1,62 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/GR.svg b/source/Ox.Geo/svg/flags/GR.svg
deleted file mode 100644
index 26d386c3..00000000
--- a/source/Ox.Geo/svg/flags/GR.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/GS.svg b/source/Ox.Geo/svg/flags/GS.svg
deleted file mode 100644
index 61c4d9f0..00000000
--- a/source/Ox.Geo/svg/flags/GS.svg
+++ /dev/null
@@ -1,1430 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/GT.svg b/source/Ox.Geo/svg/flags/GT.svg
deleted file mode 100644
index cace33a3..00000000
--- a/source/Ox.Geo/svg/flags/GT.svg
+++ /dev/null
@@ -1,2024 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/GU.svg b/source/Ox.Geo/svg/flags/GU.svg
deleted file mode 100644
index 9f9315fe..00000000
--- a/source/Ox.Geo/svg/flags/GU.svg
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/GW.svg b/source/Ox.Geo/svg/flags/GW.svg
deleted file mode 100644
index b8814cb6..00000000
--- a/source/Ox.Geo/svg/flags/GW.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/GY.svg b/source/Ox.Geo/svg/flags/GY.svg
deleted file mode 100644
index 4f79e2fb..00000000
--- a/source/Ox.Geo/svg/flags/GY.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/HK.svg b/source/Ox.Geo/svg/flags/HK.svg
deleted file mode 100644
index fa46cbd4..00000000
--- a/source/Ox.Geo/svg/flags/HK.svg
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/HM.svg b/source/Ox.Geo/svg/flags/HM.svg
deleted file mode 100644
index 43baae43..00000000
--- a/source/Ox.Geo/svg/flags/HM.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/HN.svg b/source/Ox.Geo/svg/flags/HN.svg
deleted file mode 100644
index 8cad454f..00000000
--- a/source/Ox.Geo/svg/flags/HN.svg
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/HR.svg b/source/Ox.Geo/svg/flags/HR.svg
deleted file mode 100644
index 5dd9209c..00000000
--- a/source/Ox.Geo/svg/flags/HR.svg
+++ /dev/null
@@ -1,99 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/HT.svg b/source/Ox.Geo/svg/flags/HT.svg
deleted file mode 100644
index e49e9ab9..00000000
--- a/source/Ox.Geo/svg/flags/HT.svg
+++ /dev/null
@@ -1,226 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/HU.svg b/source/Ox.Geo/svg/flags/HU.svg
deleted file mode 100644
index 7345483c..00000000
--- a/source/Ox.Geo/svg/flags/HU.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/HVBF.svg b/source/Ox.Geo/svg/flags/HVBF.svg
deleted file mode 100644
index 64617b25..00000000
--- a/source/Ox.Geo/svg/flags/HVBF.svg
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/IC.svg b/source/Ox.Geo/svg/flags/IC.svg
deleted file mode 100644
index fb186493..00000000
--- a/source/Ox.Geo/svg/flags/IC.svg
+++ /dev/null
@@ -1,700 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/ID.svg b/source/Ox.Geo/svg/flags/ID.svg
deleted file mode 100644
index e31f31a2..00000000
--- a/source/Ox.Geo/svg/flags/ID.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/IE.svg b/source/Ox.Geo/svg/flags/IE.svg
deleted file mode 100644
index 93fe181f..00000000
--- a/source/Ox.Geo/svg/flags/IE.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/IL.svg b/source/Ox.Geo/svg/flags/IL.svg
deleted file mode 100644
index 295d4f9d..00000000
--- a/source/Ox.Geo/svg/flags/IL.svg
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/IM.svg b/source/Ox.Geo/svg/flags/IM.svg
deleted file mode 100644
index 7d77644b..00000000
--- a/source/Ox.Geo/svg/flags/IM.svg
+++ /dev/null
@@ -1,609 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/IN.svg b/source/Ox.Geo/svg/flags/IN.svg
deleted file mode 100644
index 1cddbad5..00000000
--- a/source/Ox.Geo/svg/flags/IN.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/IO.svg b/source/Ox.Geo/svg/flags/IO.svg
deleted file mode 100644
index 4527e19d..00000000
--- a/source/Ox.Geo/svg/flags/IO.svg
+++ /dev/null
@@ -1,999 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/IQ.svg b/source/Ox.Geo/svg/flags/IQ.svg
deleted file mode 100644
index bec86385..00000000
--- a/source/Ox.Geo/svg/flags/IQ.svg
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/IR.svg b/source/Ox.Geo/svg/flags/IR.svg
deleted file mode 100644
index 63bf383d..00000000
--- a/source/Ox.Geo/svg/flags/IR.svg
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/IS.svg b/source/Ox.Geo/svg/flags/IS.svg
deleted file mode 100644
index 3ec9b529..00000000
--- a/source/Ox.Geo/svg/flags/IS.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/IT.svg b/source/Ox.Geo/svg/flags/IT.svg
deleted file mode 100644
index 9ee60031..00000000
--- a/source/Ox.Geo/svg/flags/IT.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/JE.svg b/source/Ox.Geo/svg/flags/JE.svg
deleted file mode 100644
index d6e9f618..00000000
--- a/source/Ox.Geo/svg/flags/JE.svg
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/JM.svg b/source/Ox.Geo/svg/flags/JM.svg
deleted file mode 100644
index 4b541cc5..00000000
--- a/source/Ox.Geo/svg/flags/JM.svg
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/JO.svg b/source/Ox.Geo/svg/flags/JO.svg
deleted file mode 100644
index 21a317c9..00000000
--- a/source/Ox.Geo/svg/flags/JO.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/JP.svg b/source/Ox.Geo/svg/flags/JP.svg
deleted file mode 100644
index 8f454752..00000000
--- a/source/Ox.Geo/svg/flags/JP.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/JTUM.svg b/source/Ox.Geo/svg/flags/JTUM.svg
deleted file mode 100644
index 6787d57c..00000000
--- a/source/Ox.Geo/svg/flags/JTUM.svg
+++ /dev/null
@@ -1,140 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/KE.svg b/source/Ox.Geo/svg/flags/KE.svg
deleted file mode 100644
index 89937e0e..00000000
--- a/source/Ox.Geo/svg/flags/KE.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/KG.svg b/source/Ox.Geo/svg/flags/KG.svg
deleted file mode 100644
index 196960e8..00000000
--- a/source/Ox.Geo/svg/flags/KG.svg
+++ /dev/null
@@ -1,341 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/KH.svg b/source/Ox.Geo/svg/flags/KH.svg
deleted file mode 100644
index 34222302..00000000
--- a/source/Ox.Geo/svg/flags/KH.svg
+++ /dev/null
@@ -1,123 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/KI.svg b/source/Ox.Geo/svg/flags/KI.svg
deleted file mode 100644
index c2f135b5..00000000
--- a/source/Ox.Geo/svg/flags/KI.svg
+++ /dev/null
@@ -1,95 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/KM.svg b/source/Ox.Geo/svg/flags/KM.svg
deleted file mode 100644
index 30b29df0..00000000
--- a/source/Ox.Geo/svg/flags/KM.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/KN.svg b/source/Ox.Geo/svg/flags/KN.svg
deleted file mode 100644
index 6e281a43..00000000
--- a/source/Ox.Geo/svg/flags/KN.svg
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/KOHH.svg b/source/Ox.Geo/svg/flags/KOHH.svg
deleted file mode 100644
index 4b65a806..00000000
--- a/source/Ox.Geo/svg/flags/KOHH.svg
+++ /dev/null
@@ -1,214 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/KP.svg b/source/Ox.Geo/svg/flags/KP.svg
deleted file mode 100644
index 2c2df390..00000000
--- a/source/Ox.Geo/svg/flags/KP.svg
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/KR.svg b/source/Ox.Geo/svg/flags/KR.svg
deleted file mode 100644
index 84089850..00000000
--- a/source/Ox.Geo/svg/flags/KR.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/KW.svg b/source/Ox.Geo/svg/flags/KW.svg
deleted file mode 100644
index 9d498cc7..00000000
--- a/source/Ox.Geo/svg/flags/KW.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/KY.svg b/source/Ox.Geo/svg/flags/KY.svg
deleted file mode 100644
index adec1ae2..00000000
--- a/source/Ox.Geo/svg/flags/KY.svg
+++ /dev/null
@@ -1,678 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/KZ.svg b/source/Ox.Geo/svg/flags/KZ.svg
deleted file mode 100644
index ba2997c9..00000000
--- a/source/Ox.Geo/svg/flags/KZ.svg
+++ /dev/null
@@ -1,61 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/LA.svg b/source/Ox.Geo/svg/flags/LA.svg
deleted file mode 100644
index 9e1e38a0..00000000
--- a/source/Ox.Geo/svg/flags/LA.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/LB.svg b/source/Ox.Geo/svg/flags/LB.svg
deleted file mode 100644
index 42d9486a..00000000
--- a/source/Ox.Geo/svg/flags/LB.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/LC.svg b/source/Ox.Geo/svg/flags/LC.svg
deleted file mode 100644
index baca6816..00000000
--- a/source/Ox.Geo/svg/flags/LC.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/LI.svg b/source/Ox.Geo/svg/flags/LI.svg
deleted file mode 100644
index e5abd63c..00000000
--- a/source/Ox.Geo/svg/flags/LI.svg
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/LK.svg b/source/Ox.Geo/svg/flags/LK.svg
deleted file mode 100644
index 5db5ab88..00000000
--- a/source/Ox.Geo/svg/flags/LK.svg
+++ /dev/null
@@ -1,258 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/LR.svg b/source/Ox.Geo/svg/flags/LR.svg
deleted file mode 100644
index cf82ad17..00000000
--- a/source/Ox.Geo/svg/flags/LR.svg
+++ /dev/null
@@ -1,15 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/LS.svg b/source/Ox.Geo/svg/flags/LS.svg
deleted file mode 100644
index 799093e9..00000000
--- a/source/Ox.Geo/svg/flags/LS.svg
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/LT.svg b/source/Ox.Geo/svg/flags/LT.svg
deleted file mode 100644
index dcd8fbba..00000000
--- a/source/Ox.Geo/svg/flags/LT.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/LU.svg b/source/Ox.Geo/svg/flags/LU.svg
deleted file mode 100644
index 67a651e8..00000000
--- a/source/Ox.Geo/svg/flags/LU.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/LV.svg b/source/Ox.Geo/svg/flags/LV.svg
deleted file mode 100644
index 45331912..00000000
--- a/source/Ox.Geo/svg/flags/LV.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/LY.svg b/source/Ox.Geo/svg/flags/LY.svg
deleted file mode 100644
index 71d4ce12..00000000
--- a/source/Ox.Geo/svg/flags/LY.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/MA.svg b/source/Ox.Geo/svg/flags/MA.svg
deleted file mode 100644
index 840b09ff..00000000
--- a/source/Ox.Geo/svg/flags/MA.svg
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/MC.svg b/source/Ox.Geo/svg/flags/MC.svg
deleted file mode 100644
index 56ee2e7d..00000000
--- a/source/Ox.Geo/svg/flags/MC.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/MD-TR.svg b/source/Ox.Geo/svg/flags/MD-TR.svg
deleted file mode 100644
index 6a003255..00000000
--- a/source/Ox.Geo/svg/flags/MD-TR.svg
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/MD.svg b/source/Ox.Geo/svg/flags/MD.svg
deleted file mode 100644
index c0ec1cd0..00000000
--- a/source/Ox.Geo/svg/flags/MD.svg
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/ME.svg b/source/Ox.Geo/svg/flags/ME.svg
deleted file mode 100644
index 9e5def58..00000000
--- a/source/Ox.Geo/svg/flags/ME.svg
+++ /dev/null
@@ -1,1177 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/MF.svg b/source/Ox.Geo/svg/flags/MF.svg
deleted file mode 100644
index 6a9f84cc..00000000
--- a/source/Ox.Geo/svg/flags/MF.svg
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/MG.svg b/source/Ox.Geo/svg/flags/MG.svg
deleted file mode 100644
index b3fa0ad6..00000000
--- a/source/Ox.Geo/svg/flags/MG.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/MH.svg b/source/Ox.Geo/svg/flags/MH.svg
deleted file mode 100644
index 8795cc02..00000000
--- a/source/Ox.Geo/svg/flags/MH.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/MIUM.svg b/source/Ox.Geo/svg/flags/MIUM.svg
deleted file mode 100644
index 2baf757d..00000000
--- a/source/Ox.Geo/svg/flags/MIUM.svg
+++ /dev/null
@@ -1,201 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/MK.svg b/source/Ox.Geo/svg/flags/MK.svg
deleted file mode 100644
index f65208a1..00000000
--- a/source/Ox.Geo/svg/flags/MK.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/ML.svg b/source/Ox.Geo/svg/flags/ML.svg
deleted file mode 100644
index df521523..00000000
--- a/source/Ox.Geo/svg/flags/ML.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/MM.svg b/source/Ox.Geo/svg/flags/MM.svg
deleted file mode 100644
index 56cf7205..00000000
--- a/source/Ox.Geo/svg/flags/MM.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/MN.svg b/source/Ox.Geo/svg/flags/MN.svg
deleted file mode 100644
index ce100393..00000000
--- a/source/Ox.Geo/svg/flags/MN.svg
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/MO.svg b/source/Ox.Geo/svg/flags/MO.svg
deleted file mode 100644
index a8b7c83e..00000000
--- a/source/Ox.Geo/svg/flags/MO.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/MP.svg b/source/Ox.Geo/svg/flags/MP.svg
deleted file mode 100644
index d64fc2ce..00000000
--- a/source/Ox.Geo/svg/flags/MP.svg
+++ /dev/null
@@ -1,987 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/MQ.svg b/source/Ox.Geo/svg/flags/MQ.svg
deleted file mode 100644
index f54d5e28..00000000
--- a/source/Ox.Geo/svg/flags/MQ.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/MR.svg b/source/Ox.Geo/svg/flags/MR.svg
deleted file mode 100644
index 6e992728..00000000
--- a/source/Ox.Geo/svg/flags/MR.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/MS.svg b/source/Ox.Geo/svg/flags/MS.svg
deleted file mode 100644
index 55994478..00000000
--- a/source/Ox.Geo/svg/flags/MS.svg
+++ /dev/null
@@ -1,394 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/MT.svg b/source/Ox.Geo/svg/flags/MT.svg
deleted file mode 100644
index c4bfe85f..00000000
--- a/source/Ox.Geo/svg/flags/MT.svg
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/MU.svg b/source/Ox.Geo/svg/flags/MU.svg
deleted file mode 100644
index a90a6c8c..00000000
--- a/source/Ox.Geo/svg/flags/MU.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/MV.svg b/source/Ox.Geo/svg/flags/MV.svg
deleted file mode 100644
index 51e10a99..00000000
--- a/source/Ox.Geo/svg/flags/MV.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/MW.svg b/source/Ox.Geo/svg/flags/MW.svg
deleted file mode 100644
index 093ef018..00000000
--- a/source/Ox.Geo/svg/flags/MW.svg
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/MX.svg b/source/Ox.Geo/svg/flags/MX.svg
deleted file mode 100644
index 70bfc196..00000000
--- a/source/Ox.Geo/svg/flags/MX.svg
+++ /dev/null
@@ -1,2487 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/MY.svg b/source/Ox.Geo/svg/flags/MY.svg
deleted file mode 100644
index 1ca009d2..00000000
--- a/source/Ox.Geo/svg/flags/MY.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/MZ.svg b/source/Ox.Geo/svg/flags/MZ.svg
deleted file mode 100644
index 79f42b1f..00000000
--- a/source/Ox.Geo/svg/flags/MZ.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/NA.svg b/source/Ox.Geo/svg/flags/NA.svg
deleted file mode 100644
index ab37feb5..00000000
--- a/source/Ox.Geo/svg/flags/NA.svg
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/NC.svg b/source/Ox.Geo/svg/flags/NC.svg
deleted file mode 100644
index 0baf7f3b..00000000
--- a/source/Ox.Geo/svg/flags/NC.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/NE.svg b/source/Ox.Geo/svg/flags/NE.svg
deleted file mode 100644
index 07fe662c..00000000
--- a/source/Ox.Geo/svg/flags/NE.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/NF.svg b/source/Ox.Geo/svg/flags/NF.svg
deleted file mode 100644
index 21134bfa..00000000
--- a/source/Ox.Geo/svg/flags/NF.svg
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/NG.svg b/source/Ox.Geo/svg/flags/NG.svg
deleted file mode 100644
index 432fa87a..00000000
--- a/source/Ox.Geo/svg/flags/NG.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/NHVU.svg b/source/Ox.Geo/svg/flags/NHVU.svg
deleted file mode 100644
index 9f9a80b3..00000000
--- a/source/Ox.Geo/svg/flags/NHVU.svg
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/NI.svg b/source/Ox.Geo/svg/flags/NI.svg
deleted file mode 100644
index 9b9bf53a..00000000
--- a/source/Ox.Geo/svg/flags/NI.svg
+++ /dev/null
@@ -1,129 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/NL.svg b/source/Ox.Geo/svg/flags/NL.svg
deleted file mode 100644
index f19bd004..00000000
--- a/source/Ox.Geo/svg/flags/NL.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/NO-PI.svg b/source/Ox.Geo/svg/flags/NO-PI.svg
deleted file mode 100644
index ec2bd8de..00000000
--- a/source/Ox.Geo/svg/flags/NO-PI.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/NO.svg b/source/Ox.Geo/svg/flags/NO.svg
deleted file mode 100644
index ec2bd8de..00000000
--- a/source/Ox.Geo/svg/flags/NO.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/NP.svg b/source/Ox.Geo/svg/flags/NP.svg
deleted file mode 100644
index 1a2fc0d7..00000000
--- a/source/Ox.Geo/svg/flags/NP.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/NQAQ.svg b/source/Ox.Geo/svg/flags/NQAQ.svg
deleted file mode 100644
index ec2bd8de..00000000
--- a/source/Ox.Geo/svg/flags/NQAQ.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/NR.svg b/source/Ox.Geo/svg/flags/NR.svg
deleted file mode 100644
index 825e4e1c..00000000
--- a/source/Ox.Geo/svg/flags/NR.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/NTHH.svg b/source/Ox.Geo/svg/flags/NTHH.svg
deleted file mode 100644
index b3afeeea..00000000
--- a/source/Ox.Geo/svg/flags/NTHH.svg
+++ /dev/null
@@ -1,173 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/NU.svg b/source/Ox.Geo/svg/flags/NU.svg
deleted file mode 100644
index 71b4302a..00000000
--- a/source/Ox.Geo/svg/flags/NU.svg
+++ /dev/null
@@ -1,159 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/NZ-AQ.svg b/source/Ox.Geo/svg/flags/NZ-AQ.svg
deleted file mode 100644
index f080622a..00000000
--- a/source/Ox.Geo/svg/flags/NZ-AQ.svg
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/NZ.svg b/source/Ox.Geo/svg/flags/NZ.svg
deleted file mode 100644
index f080622a..00000000
--- a/source/Ox.Geo/svg/flags/NZ.svg
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/OM.svg b/source/Ox.Geo/svg/flags/OM.svg
deleted file mode 100644
index 4fff0401..00000000
--- a/source/Ox.Geo/svg/flags/OM.svg
+++ /dev/null
@@ -1,306 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/PA.svg b/source/Ox.Geo/svg/flags/PA.svg
deleted file mode 100644
index c34e6fbe..00000000
--- a/source/Ox.Geo/svg/flags/PA.svg
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/PCHH.svg b/source/Ox.Geo/svg/flags/PCHH.svg
deleted file mode 100644
index 119c4738..00000000
--- a/source/Ox.Geo/svg/flags/PCHH.svg
+++ /dev/null
@@ -1,18 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/PE.svg b/source/Ox.Geo/svg/flags/PE.svg
deleted file mode 100644
index 509034b0..00000000
--- a/source/Ox.Geo/svg/flags/PE.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/PF.svg b/source/Ox.Geo/svg/flags/PF.svg
deleted file mode 100644
index 5ee4b964..00000000
--- a/source/Ox.Geo/svg/flags/PF.svg
+++ /dev/null
@@ -1,225 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/PG.svg b/source/Ox.Geo/svg/flags/PG.svg
deleted file mode 100644
index d9d53714..00000000
--- a/source/Ox.Geo/svg/flags/PG.svg
+++ /dev/null
@@ -1,13 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/PH.svg b/source/Ox.Geo/svg/flags/PH.svg
deleted file mode 100644
index 39a5f623..00000000
--- a/source/Ox.Geo/svg/flags/PH.svg
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/PK.svg b/source/Ox.Geo/svg/flags/PK.svg
deleted file mode 100644
index 5178ae85..00000000
--- a/source/Ox.Geo/svg/flags/PK.svg
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/PL.svg b/source/Ox.Geo/svg/flags/PL.svg
deleted file mode 100644
index b08d0251..00000000
--- a/source/Ox.Geo/svg/flags/PL.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/PM.svg b/source/Ox.Geo/svg/flags/PM.svg
deleted file mode 100644
index b7555b0f..00000000
--- a/source/Ox.Geo/svg/flags/PM.svg
+++ /dev/null
@@ -1,2651 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/PN.svg b/source/Ox.Geo/svg/flags/PN.svg
deleted file mode 100644
index 0399ac74..00000000
--- a/source/Ox.Geo/svg/flags/PN.svg
+++ /dev/null
@@ -1,504 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/PR.svg b/source/Ox.Geo/svg/flags/PR.svg
deleted file mode 100644
index b355d0f5..00000000
--- a/source/Ox.Geo/svg/flags/PR.svg
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/PS.svg b/source/Ox.Geo/svg/flags/PS.svg
deleted file mode 100644
index 2f9828fe..00000000
--- a/source/Ox.Geo/svg/flags/PS.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/PT.svg b/source/Ox.Geo/svg/flags/PT.svg
deleted file mode 100644
index 9f6382cd..00000000
--- a/source/Ox.Geo/svg/flags/PT.svg
+++ /dev/null
@@ -1,1105 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/PUUM.svg b/source/Ox.Geo/svg/flags/PUUM.svg
deleted file mode 100644
index f02c7a82..00000000
--- a/source/Ox.Geo/svg/flags/PUUM.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/PW.svg b/source/Ox.Geo/svg/flags/PW.svg
deleted file mode 100644
index 585d8231..00000000
--- a/source/Ox.Geo/svg/flags/PW.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/PY.svg b/source/Ox.Geo/svg/flags/PY.svg
deleted file mode 100644
index da2f792e..00000000
--- a/source/Ox.Geo/svg/flags/PY.svg
+++ /dev/null
@@ -1,867 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/QA.svg b/source/Ox.Geo/svg/flags/QA.svg
deleted file mode 100644
index 37a521d1..00000000
--- a/source/Ox.Geo/svg/flags/QA.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/RHZW.svg b/source/Ox.Geo/svg/flags/RHZW.svg
deleted file mode 100644
index ce86f47c..00000000
--- a/source/Ox.Geo/svg/flags/RHZW.svg
+++ /dev/null
@@ -1,5528 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/RO.svg b/source/Ox.Geo/svg/flags/RO.svg
deleted file mode 100644
index c9b6da86..00000000
--- a/source/Ox.Geo/svg/flags/RO.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/RS-KO.svg b/source/Ox.Geo/svg/flags/RS-KO.svg
deleted file mode 100644
index 01d2c6bc..00000000
--- a/source/Ox.Geo/svg/flags/RS-KO.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/RS.svg b/source/Ox.Geo/svg/flags/RS.svg
deleted file mode 100644
index f082442b..00000000
--- a/source/Ox.Geo/svg/flags/RS.svg
+++ /dev/null
@@ -1,2022 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/RU.svg b/source/Ox.Geo/svg/flags/RU.svg
deleted file mode 100644
index 4b73ce49..00000000
--- a/source/Ox.Geo/svg/flags/RU.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/RW.svg b/source/Ox.Geo/svg/flags/RW.svg
deleted file mode 100644
index 5c2df6b2..00000000
--- a/source/Ox.Geo/svg/flags/RW.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/SA.svg b/source/Ox.Geo/svg/flags/SA.svg
deleted file mode 100644
index 89561fb7..00000000
--- a/source/Ox.Geo/svg/flags/SA.svg
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/SB.svg b/source/Ox.Geo/svg/flags/SB.svg
deleted file mode 100644
index 8dcc8e3f..00000000
--- a/source/Ox.Geo/svg/flags/SB.svg
+++ /dev/null
@@ -1,22 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/SC.svg b/source/Ox.Geo/svg/flags/SC.svg
deleted file mode 100644
index 42b7da9a..00000000
--- a/source/Ox.Geo/svg/flags/SC.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/SD.svg b/source/Ox.Geo/svg/flags/SD.svg
deleted file mode 100644
index d2a1ef62..00000000
--- a/source/Ox.Geo/svg/flags/SD.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/SE.svg b/source/Ox.Geo/svg/flags/SE.svg
deleted file mode 100644
index 65db1571..00000000
--- a/source/Ox.Geo/svg/flags/SE.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/SG.svg b/source/Ox.Geo/svg/flags/SG.svg
deleted file mode 100644
index 572cb3b1..00000000
--- a/source/Ox.Geo/svg/flags/SG.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/SH.svg b/source/Ox.Geo/svg/flags/SH.svg
deleted file mode 100644
index 5fbf07e1..00000000
--- a/source/Ox.Geo/svg/flags/SH.svg
+++ /dev/null
@@ -1,1927 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/SI.svg b/source/Ox.Geo/svg/flags/SI.svg
deleted file mode 100644
index 4bd42cbc..00000000
--- a/source/Ox.Geo/svg/flags/SI.svg
+++ /dev/null
@@ -1,99 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/SITH.svg b/source/Ox.Geo/svg/flags/SITH.svg
deleted file mode 100644
index 0d37047c..00000000
--- a/source/Ox.Geo/svg/flags/SITH.svg
+++ /dev/null
@@ -1,2015 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/SJ.svg b/source/Ox.Geo/svg/flags/SJ.svg
deleted file mode 100644
index ec2bd8de..00000000
--- a/source/Ox.Geo/svg/flags/SJ.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/SK.svg b/source/Ox.Geo/svg/flags/SK.svg
deleted file mode 100644
index 3b4e666a..00000000
--- a/source/Ox.Geo/svg/flags/SK.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/SKIN.svg b/source/Ox.Geo/svg/flags/SKIN.svg
deleted file mode 100644
index 8c429931..00000000
--- a/source/Ox.Geo/svg/flags/SKIN.svg
+++ /dev/null
@@ -1,531 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/SL.svg b/source/Ox.Geo/svg/flags/SL.svg
deleted file mode 100644
index ed655f01..00000000
--- a/source/Ox.Geo/svg/flags/SL.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/SM.svg b/source/Ox.Geo/svg/flags/SM.svg
deleted file mode 100644
index 1b29ea65..00000000
--- a/source/Ox.Geo/svg/flags/SM.svg
+++ /dev/null
@@ -1,1712 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/SN.svg b/source/Ox.Geo/svg/flags/SN.svg
deleted file mode 100644
index 04830989..00000000
--- a/source/Ox.Geo/svg/flags/SN.svg
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/SO-SO.svg b/source/Ox.Geo/svg/flags/SO-SO.svg
deleted file mode 100644
index f70e8e7c..00000000
--- a/source/Ox.Geo/svg/flags/SO-SO.svg
+++ /dev/null
@@ -1,309 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/SO.svg b/source/Ox.Geo/svg/flags/SO.svg
deleted file mode 100644
index 07486bc0..00000000
--- a/source/Ox.Geo/svg/flags/SO.svg
+++ /dev/null
@@ -1,13 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/SR.svg b/source/Ox.Geo/svg/flags/SR.svg
deleted file mode 100644
index 0c190d19..00000000
--- a/source/Ox.Geo/svg/flags/SR.svg
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/SS.svg b/source/Ox.Geo/svg/flags/SS.svg
deleted file mode 100644
index a5616a1d..00000000
--- a/source/Ox.Geo/svg/flags/SS.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/ST.svg b/source/Ox.Geo/svg/flags/ST.svg
deleted file mode 100644
index 8cf96aaf..00000000
--- a/source/Ox.Geo/svg/flags/ST.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/SUHH.svg b/source/Ox.Geo/svg/flags/SUHH.svg
deleted file mode 100644
index 99b887ce..00000000
--- a/source/Ox.Geo/svg/flags/SUHH.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/SV.svg b/source/Ox.Geo/svg/flags/SV.svg
deleted file mode 100644
index 108e04d1..00000000
--- a/source/Ox.Geo/svg/flags/SV.svg
+++ /dev/null
@@ -1,1466 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/SX.svg b/source/Ox.Geo/svg/flags/SX.svg
deleted file mode 100644
index a0e645ec..00000000
--- a/source/Ox.Geo/svg/flags/SX.svg
+++ /dev/null
@@ -1,367 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/SY.svg b/source/Ox.Geo/svg/flags/SY.svg
deleted file mode 100644
index 6fd33bdd..00000000
--- a/source/Ox.Geo/svg/flags/SY.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/SZ.svg b/source/Ox.Geo/svg/flags/SZ.svg
deleted file mode 100644
index 8aebdcf5..00000000
--- a/source/Ox.Geo/svg/flags/SZ.svg
+++ /dev/null
@@ -1,68 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/TA.svg b/source/Ox.Geo/svg/flags/TA.svg
deleted file mode 100644
index c23b9e55..00000000
--- a/source/Ox.Geo/svg/flags/TA.svg
+++ /dev/null
@@ -1,3815 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/TC.svg b/source/Ox.Geo/svg/flags/TC.svg
deleted file mode 100644
index ae0f4d2c..00000000
--- a/source/Ox.Geo/svg/flags/TC.svg
+++ /dev/null
@@ -1,488 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/TD.svg b/source/Ox.Geo/svg/flags/TD.svg
deleted file mode 100644
index 922cd12d..00000000
--- a/source/Ox.Geo/svg/flags/TD.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/TF.svg b/source/Ox.Geo/svg/flags/TF.svg
deleted file mode 100644
index 25a37fea..00000000
--- a/source/Ox.Geo/svg/flags/TF.svg
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/TG.svg b/source/Ox.Geo/svg/flags/TG.svg
deleted file mode 100644
index a44846d2..00000000
--- a/source/Ox.Geo/svg/flags/TG.svg
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/TH.svg b/source/Ox.Geo/svg/flags/TH.svg
deleted file mode 100644
index 09fa2777..00000000
--- a/source/Ox.Geo/svg/flags/TH.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/TJ.svg b/source/Ox.Geo/svg/flags/TJ.svg
deleted file mode 100644
index f5572b43..00000000
--- a/source/Ox.Geo/svg/flags/TJ.svg
+++ /dev/null
@@ -1,15 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/TK.svg b/source/Ox.Geo/svg/flags/TK.svg
deleted file mode 100644
index 91ee09b9..00000000
--- a/source/Ox.Geo/svg/flags/TK.svg
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/TL.svg b/source/Ox.Geo/svg/flags/TL.svg
deleted file mode 100644
index d724aefd..00000000
--- a/source/Ox.Geo/svg/flags/TL.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/TM.svg b/source/Ox.Geo/svg/flags/TM.svg
deleted file mode 100644
index 349d9559..00000000
--- a/source/Ox.Geo/svg/flags/TM.svg
+++ /dev/null
@@ -1,300 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/TN.svg b/source/Ox.Geo/svg/flags/TN.svg
deleted file mode 100644
index 3614977e..00000000
--- a/source/Ox.Geo/svg/flags/TN.svg
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/TO.svg b/source/Ox.Geo/svg/flags/TO.svg
deleted file mode 100644
index 34f90c61..00000000
--- a/source/Ox.Geo/svg/flags/TO.svg
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/TPTL.svg b/source/Ox.Geo/svg/flags/TPTL.svg
deleted file mode 100644
index d724aefd..00000000
--- a/source/Ox.Geo/svg/flags/TPTL.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/TR.svg b/source/Ox.Geo/svg/flags/TR.svg
deleted file mode 100644
index 30524de4..00000000
--- a/source/Ox.Geo/svg/flags/TR.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/source/Ox.Geo/svg/flags/TT.svg b/source/Ox.Geo/svg/flags/TT.svg
deleted file mode 100644
index fa886a4d..00000000
--- a/source/Ox.Geo/svg/flags/TT.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
diff --git a/source/Ox.Geo/svg/flags/TV.svg b/source/Ox.Geo/svg/flags/TV.svg
deleted file mode 100644
index 6ea3240b..00000000
--- a/source/Ox.Geo/svg/flags/TV.svg
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/TW.svg b/source/Ox.Geo/svg/flags/TW.svg
deleted file mode 100644
index 6ae3f6d7..00000000
--- a/source/Ox.Geo/svg/flags/TW.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/TZ.svg b/source/Ox.Geo/svg/flags/TZ.svg
deleted file mode 100644
index f3ae06f9..00000000
--- a/source/Ox.Geo/svg/flags/TZ.svg
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/UA.svg b/source/Ox.Geo/svg/flags/UA.svg
deleted file mode 100644
index 8f4b0a43..00000000
--- a/source/Ox.Geo/svg/flags/UA.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/UG.svg b/source/Ox.Geo/svg/flags/UG.svg
deleted file mode 100644
index 7bcd0323..00000000
--- a/source/Ox.Geo/svg/flags/UG.svg
+++ /dev/null
@@ -1,163 +0,0 @@
-
-
-
-
-
- image/svg+xml
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/UK.svg b/source/Ox.Geo/svg/flags/UK.svg
deleted file mode 100644
index 36c98897..00000000
--- a/source/Ox.Geo/svg/flags/UK.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/UM.svg b/source/Ox.Geo/svg/flags/UM.svg
deleted file mode 100644
index f02c7a82..00000000
--- a/source/Ox.Geo/svg/flags/UM.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/US.svg b/source/Ox.Geo/svg/flags/US.svg
deleted file mode 100644
index 8ef5ff83..00000000
--- a/source/Ox.Geo/svg/flags/US.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/UY.svg b/source/Ox.Geo/svg/flags/UY.svg
deleted file mode 100644
index fb51248f..00000000
--- a/source/Ox.Geo/svg/flags/UY.svg
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/UZ.svg b/source/Ox.Geo/svg/flags/UZ.svg
deleted file mode 100644
index acabe3c0..00000000
--- a/source/Ox.Geo/svg/flags/UZ.svg
+++ /dev/null
@@ -1,28 +0,0 @@
-
-Flag of Uzbekistan
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/VA.svg b/source/Ox.Geo/svg/flags/VA.svg
deleted file mode 100644
index 910ab9a4..00000000
--- a/source/Ox.Geo/svg/flags/VA.svg
+++ /dev/null
@@ -1,553 +0,0 @@
-
-Flag of Vatican City
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/VC.svg b/source/Ox.Geo/svg/flags/VC.svg
deleted file mode 100644
index 19932dfc..00000000
--- a/source/Ox.Geo/svg/flags/VC.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/VDVN.svg b/source/Ox.Geo/svg/flags/VDVN.svg
deleted file mode 100644
index 6c785ca3..00000000
--- a/source/Ox.Geo/svg/flags/VDVN.svg
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/VE.svg b/source/Ox.Geo/svg/flags/VE.svg
deleted file mode 100644
index 30d3631d..00000000
--- a/source/Ox.Geo/svg/flags/VE.svg
+++ /dev/null
@@ -1,5995 +0,0 @@
-
-
-
-
-
-
-
-
- image/svg+xml
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/VG.svg b/source/Ox.Geo/svg/flags/VG.svg
deleted file mode 100644
index 8fd5de82..00000000
--- a/source/Ox.Geo/svg/flags/VG.svg
+++ /dev/null
@@ -1,928 +0,0 @@
-
-
-
-
-
-
-
- British Virgin Islands
-
-
-
-
- united_kingdom
- flags
- caribbean
- america
- signs_and_symbols
- sign
-
-
-
-
- Tobias Jakobs
-
-
-
-
- Tobias Jakobs
-
-
-
-
- Tobias Jakobs
-
-
-
- image/svg+xml
-
-
- en
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/VI.svg b/source/Ox.Geo/svg/flags/VI.svg
deleted file mode 100644
index f525b810..00000000
--- a/source/Ox.Geo/svg/flags/VI.svg
+++ /dev/null
@@ -1,449 +0,0 @@
-
-
-
-image/svg+xml
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/VN.svg b/source/Ox.Geo/svg/flags/VN.svg
deleted file mode 100644
index f5d38a99..00000000
--- a/source/Ox.Geo/svg/flags/VN.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/VU.svg b/source/Ox.Geo/svg/flags/VU.svg
deleted file mode 100644
index 80310fff..00000000
--- a/source/Ox.Geo/svg/flags/VU.svg
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/WF.svg b/source/Ox.Geo/svg/flags/WF.svg
deleted file mode 100644
index d34877cf..00000000
--- a/source/Ox.Geo/svg/flags/WF.svg
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
- Flag of Wallis and Futuna
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/WKUM.svg b/source/Ox.Geo/svg/flags/WKUM.svg
deleted file mode 100644
index d11e825b..00000000
--- a/source/Ox.Geo/svg/flags/WKUM.svg
+++ /dev/null
@@ -1,159 +0,0 @@
-
-
-
-
-
- image/svg+xml
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/WS.svg b/source/Ox.Geo/svg/flags/WS.svg
deleted file mode 100644
index aefc3262..00000000
--- a/source/Ox.Geo/svg/flags/WS.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/YDYE.svg b/source/Ox.Geo/svg/flags/YDYE.svg
deleted file mode 100644
index e0efa66b..00000000
--- a/source/Ox.Geo/svg/flags/YDYE.svg
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/YE.svg b/source/Ox.Geo/svg/flags/YE.svg
deleted file mode 100644
index 0b956f12..00000000
--- a/source/Ox.Geo/svg/flags/YE.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-flag of Yemen
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/YT.svg b/source/Ox.Geo/svg/flags/YT.svg
deleted file mode 100644
index 0baf7f3b..00000000
--- a/source/Ox.Geo/svg/flags/YT.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/Ox.Geo/svg/flags/YUCS.svg b/source/Ox.Geo/svg/flags/YUCS.svg
deleted file mode 100644
index ba5e0043..00000000
--- a/source/Ox.Geo/svg/flags/YUCS.svg
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Geo/svg/flags/ZA.svg b/source/Ox.Geo/svg/flags/ZA.svg
deleted file mode 100644
index ccfe132f..00000000
--- a/source/Ox.Geo/svg/flags/ZA.svg
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/ZM.svg b/source/Ox.Geo/svg/flags/ZM.svg
deleted file mode 100644
index 20e0e918..00000000
--- a/source/Ox.Geo/svg/flags/ZM.svg
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/ZRCD.svg b/source/Ox.Geo/svg/flags/ZRCD.svg
deleted file mode 100644
index a0eaa90f..00000000
--- a/source/Ox.Geo/svg/flags/ZRCD.svg
+++ /dev/null
@@ -1,171 +0,0 @@
-
-
-
-
-
-
-
- image/svg+xml
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/Ox.Geo/svg/flags/ZW.svg b/source/Ox.Geo/svg/flags/ZW.svg
deleted file mode 100644
index ce880190..00000000
--- a/source/Ox.Geo/svg/flags/ZW.svg
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
-
-
-
-
-
-
- value has to be sqrt(21)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/Ox.Image/Ox.Image.js b/source/Ox.Image/Ox.Image.js
index 91fa83ea..ac7812ec 100644
--- a/source/Ox.Image/Ox.Image.js
+++ b/source/Ox.Image/Ox.Image.js
@@ -121,8 +121,6 @@ Ox.load.Image = function(options, callback) {
return that.filter(filter);
};
- //@ canvas Canvas object
-
/*@
channel Reduce the image to one channel
(channel) -> The image object
diff --git a/source/Ox.UI/Ox.UI.js b/source/Ox.UI/Ox.UI.js
index 36706596..9aa4c683 100644
--- a/source/Ox.UI/Ox.UI.js
+++ b/source/Ox.UI/Ox.UI.js
@@ -1,7 +1,6 @@
Ox.load.UI = function(options, callback) {
options = Ox.extend({
- debug: false,
hideScreen: true,
loadImages: true,
showScreen: false,
@@ -198,16 +197,10 @@ Ox.load.UI = function(options, callback) {
function loadFiles() {
- Ox.loadFile(Ox.PATH + 'jquery/jquery' + (options.debug ? '' : '.min') + '.js', function() {
+ Ox.loadFile(Ox.PATH + '/Ox.UI/jquery/jquery.js', function() {
initUI();
Ox.getJSON(Ox.UI.PATH + 'json/Ox.UI.files.json', function(files) {
var promises = [];
- if (options.debug == false) {
- files = files.filter(function(file) {
- return !Ox.startsWith(file, 'Ox.UI/js/');
- });
- files.push('Ox.UI/js/Ox.UI.js');
- }
files.forEach(function(file) {
var dfd = new $.Deferred();
promises.push(dfd.promise());
diff --git a/source/Ox.UI/js/Bar/Ox.Resizebar.js b/source/Ox.UI/js/Bar/Ox.Resizebar.js
index 81158209..a3ca3876 100644
--- a/source/Ox.UI/js/Bar/Ox.Resizebar.js
+++ b/source/Ox.UI/js/Bar/Ox.Resizebar.js
@@ -92,14 +92,14 @@ Ox.Resizebar = function(options, self) {
// fixme: send {size: x}, not x
if (self.isLeftOrTop) {
self.options.elements[0]
- .css(self.dimensions[1], self.options.size + 'px')
+ .css(self.dimensions[1], self.options.size + 'px');
self.options.elements[1]
- .css(self.edges[2], (self.options.size + 1) + 'px')
+ .css(self.edges[2], (self.options.size + 1) + 'px');
} else {
self.options.elements[0]
- .css(self.edges[3], (self.options.size + 1) + 'px')
+ .css(self.edges[3], (self.options.size + 1) + 'px');
self.options.elements[1]
- .css(self.dimensions[1], self.options.size + 'px')
+ .css(self.dimensions[1], self.options.size + 'px');
}
triggerEvents('resize');
self.options.parent.updateSize(self.isLeftOrTop ? 0 : 1, self.options.size); // fixme: listen to event instead?
diff --git a/source/Ox.UI/js/Calendar/Ox.Calendar.js b/source/Ox.UI/js/Calendar/Ox.Calendar.js
index e380da06..fc163f79 100644
--- a/source/Ox.UI/js/Calendar/Ox.Calendar.js
+++ b/source/Ox.UI/js/Calendar/Ox.Calendar.js
@@ -745,14 +745,14 @@ Ox.Calendar = function(options, self) {
var deltaZ = 0;
if (!self.mousewheel && deltaY && Math.abs(deltaY) > Math.abs(deltaX)) {
if (deltaY < 0 && self.options.zoom > 0) {
- deltaZ = -1
+ deltaZ = -1;
} else if (deltaY > 0 && self.options.zoom < self.maxZoom) {
- deltaZ = 1
+ deltaZ = 1;
}
if (deltaZ) {
self.options.date = deltaZ == -1 ?
new Date(2 * +self.options.date - +getMouseDate(e)) :
- new Date((+self.options.date + +getMouseDate(e)) / 2)
+ new Date((+self.options.date + +getMouseDate(e)) / 2);
zoomBy(deltaZ);
}
}
diff --git a/source/Ox.UI/themes/classic/svg/symbolCenter.svg b/source/Ox.UI/themes/classic/svg/symbolCenter.svg
index df83ecb3..5eb22938 100644
--- a/source/Ox.UI/themes/classic/svg/symbolCenter.svg
+++ b/source/Ox.UI/themes/classic/svg/symbolCenter.svg
@@ -1,10 +1,3 @@
-
-
-
-
-
-
-
-
-
+
+
\ No newline at end of file
diff --git a/source/Ox.UI/themes/classic/svg/symbolZoom.svg b/source/Ox.UI/themes/classic/svg/symbolZoom.svg
deleted file mode 100644
index be9bb043..00000000
--- a/source/Ox.UI/themes/classic/svg/symbolZoom.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/source/Ox.UI/themes/modern/svg/symbolCenter.svg b/source/Ox.UI/themes/modern/svg/symbolCenter.svg
index 6b4b4948..451bccfa 100644
--- a/source/Ox.UI/themes/modern/svg/symbolCenter.svg
+++ b/source/Ox.UI/themes/modern/svg/symbolCenter.svg
@@ -1,10 +1,3 @@
-
-
-
-
-
-
-
-
-
+
+
\ No newline at end of file
diff --git a/source/Ox.js b/source/Ox.js
index 15e144d6..75958aa4 100644
--- a/source/Ox.js
+++ b/source/Ox.js
@@ -1,5231 +1,90 @@
-// vim: et:ts=4:sw=4:sts=4:ft=javascript
-
-// OxJS (c) 2011 0x2620, dual-licensed GPL/MIT, see http://oxjs.org for details
+// Ox.js Developer Version
/*
-Some conventions:
- Functions
- - only one var statement, in the first line of the function
- - return only once, from the last line of the function
- Variable names
- arg argument
- args arguments
- arr array
- canFoo boolean
- callback callback function
- col collection (array, string or object)
- date date
- fn function
- hasFoo boolean
- i index (integer key)
- isFoo boolean
- k key (of a key/value pair)
- key key (of a key/value pair)
- max maximum value
- min minumum value
- num number
- obj object
- re regexp
- ret return value
- v value (of a key/value pair)
- val value (of a key/value pair)
- Indentation
- Variable definitions
- var a = {
- key: value,
- key: value,
- key: value
- },
- b = {key: value},
- c = {key: value};
- Method chaining
- Obj.fnA({
- key: value,
- key: value,
- key: value
- })
- .fnB({key: val})
- .fnC({key: val});
- Simple conditionals
- condition && expression;
- Conditionals
- if (condition) {
- expression;
- }
- Conditionals with long conditions
- if (
- condition
- && condition
- && condition
- ) {
- expression;
- }
- Ternary operator
- condition ? expression : expression;
- Ternary operator with long conditions or expressions
- condition ? expression
- : condition ? expression
- : expression;
+Usage:
+ Ox.load(callback)
+ Ox.load(module, callback)
+ Ox.load(module, options, callback)
+ Ox.load({module: options, module: options}, callback)
*/
-// todo: check http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
-// also see https://github.com/tlrobinson/narwhal/blob/master/lib/util.js
+Ox = {
-// Fallbacks -------------------------------------------------------------------
+ load: function() {
-// see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/filter
-if (!Array.prototype.filter) {
- Array.prototype.filter = function(fn, that) {
- if (this === void 0 || this === null || typeof fn !== 'function') {
- throw new TypeError();
- }
- var arr = Object(this),
- i,
- len = arr.length >>> 0,
- ret = [],
- val;
- for (i = 0; i < len; i++) {
- // save val in case fn mutates it
- if (i in arr && fn.call(that, val = arr[i], i, arr)) {
- ret.push(val);
- }
- }
- return ret;
- };
-}
+ var args = arguments,
+ callback = args[args.length - 1],
+ path = getPath();
-// see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/forEach
-if (!Array.prototype.forEach) {
- Array.prototype.forEach = function(fn, that) {
- if (this === void 0 || this === null || typeof fn !== 'function') {
- throw new TypeError();
- }
- var arr = Object(this),
- i,
- len = arr.length >>> 0;
- for (i = 0; i < len; i++) {
- if (i in arr) {
- fn.call(that, arr[i], i, arr);
- }
- }
- }
-}
-
-// see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/indexOf
-if (!Array.prototype.indexOf) {
- Array.prototype.indexOf = function(val) {
- if (this === void 0 || this === null) {
- throw new TypeError();
- }
- var arr = Object(this),
- i,
- len = arr.length >>> 0;
- ret = -1;
- for (i = 0; i < len; i++) {
- if (i in arr && arr[i] === val) {
- ret = val;
- break
- }
- }
- return ret;
- }
-}
-
-// see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/map
-if (!Array.prototype.map) {
- Array.prototype.map = function(fn, that) {
- if (this === void 0 || this === null || typeof fn !== 'function') {
- throw new TypeError();
- }
- var arr = Object(this),
- i,
- len = arr.length >>> 0,
- ret = new Array(len);
- for (i = 0; i < len; i++) {
- if (i in arr) {
- ret[i] == fn.call(that, arr[i], i, arr);
- }
- }
- return ret;
- }
-}
-
-// see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/reduce
-if (!Array.prototype.reduce) {
- Array.prototype.reduce = function reduce(fn, ret) {
- if (this === void 0 || this === null || typeof fn !== 'function') {
- throw new TypeError();
- }
- var arr = Object(this),
- i,
- len = this.length;
- if (!len && ret === void 0) {
- throw new TypeError();
- }
- if (ret === void 0) {
- ret = arr[0];
- i = 1;
- }
- for (i = i || 0; i < len ; ++i) {
- if (i in arr) {
- ret = fn.call(void 0, ret, arr[i], i, arr);
- }
- }
- return ret;
- };
-}
-
-// see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/keys
-if (!Object.keys) {
- Object.keys = function(obj) {
- if (obj !== Object(obj)) {
- throw new TypeError();
- }
- var key,
- ret = [];
- for (key in obj) {
- if (Object.prototype.hasOwnProperty.call(obj, key)) {
- ret.push(key);
- }
- }
- return ret;
- }
-}
-
-//@ Core -----------------------------------------------------------------------
-
-/*@
-Ox The Ox object
- See Ox.wrap for details.
- (value) -> wrapped value
- value <*> Any value
-@*/
-
-Ox = function(val) {
- return Ox.wrap(val);
-};
-
-/*@
-Ox.load Loads a module
- A module named "Test" provides Ox.Test/Ox.Test.js, in which it
- defines one method, Ox.load.Test, that takes two arguments,
- options and callback, and calls
- callback with one argument, true for success or
- false if an error occurred. Generally, the module should
- define Ox.Test and attach its own methods there.
- (module, callback) -> undefined
- (module, options, callback) -> undefined
- (modules, callback) -> undefined
- module Module name
- modules Multiple modules {name: options, ...}
- options Module options
- callback Callback function
- success If true, the module has been loaded successfully
-@*/
-
-Ox.load = function() {
- var callback = arguments[arguments.length - 1],
- counter = 0,
- isObject = Ox.isObject(arguments[0]),
- length,
- modules = isObject ? arguments[0] : {},
- success = 0;
- if (!isObject) {
- modules[arguments[0]] = Ox.isObject(arguments[1]) ? arguments[1] : {};
- }
- length = Ox.len(modules)
- Ox.forEach(modules, function(options, module) {
- Ox.loadFile(Ox.PATH + 'Ox.' + module + '/Ox.' + module + '.js', function() {
- Ox.load[module](options, function(s) {
- success += s;
- ++counter == length && callback(success == counter);
- });
- });
- });
-};
-
-/*@
-Ox.print Prints its arguments to the console
- (arg, ...) -> String
- The string contains the timestamp, the name of the caller function, and
- any arguments, separated by spaces
- arg <*> any value
- > Ox.print('foo').split(' ').pop()
- "foo"
-@*/
-
-Ox.print = function() {
- var args = Ox.makeArray(arguments),
- date = new Date();
- args.unshift(
- Ox.formatDate(date, '%H:%M:%S.') + (+date).toString().substr(-3),
- (arguments.callee.caller && arguments.callee.caller.name)
- || '(anonymous)'
- );
- window.console && window.console.log.apply(window.console, args);
- return args.join(' ');
-};
-
-/*@
-Ox.uid Returns a unique id
- () -> Unique id
- > Ox.uid() != Ox.uid()
- true
-@*/
-
-Ox.uid = (function() {
- var uid = 0;
- return function() {
- return uid++;
- };
-}());
-
-/*@
-Ox.wrap Wraps a value so that one can directly call any Ox function on it
- Ox(value) is a shorthand for Ox.wrap(value).
- (value) -> wrapped value
- chain Wrap return values to allow chaining
- value Unwrap the value wrapped by chain()
- value <*> Any value
- > Ox("foobar").repeat(2)
- "foobarfoobar"
- > Ox("foobar").chain().reverse().toTitleCase().value()
- "Raboof"
- > Ox.wrap("foobar").value()
- "foobar"
-@*/
-
-Ox.wrap = function(val, chained) {
- // somewhat inspired by underscore.js
- var wrapper = {
- chain: function() {
- wrapper.chained = true;
- return wrapper;
- },
- chained: chained || false,
- value: function() {
- return val;
- }
- };
- Object.getOwnPropertyNames(Ox).forEach(function(name) {
- if (name[0] == name[0].toLowerCase() && Ox.isFunction(Ox[name])) {
- wrapper[name] = function() {
- var args = Array.prototype.slice.call(arguments), ret;
- args.unshift(val);
- ret = Ox[name].apply(Ox, args);
- return wrapper.chained ? Ox.wrap(ret, true) : ret;
- };
- }
- });
- return wrapper;
-};
-
-//@ Array ----------------------------------------------------------------------
-
-/*@
-Ox.compact Returns an array w/o null or undefined
- > Ox.compact([null,,1,,2,,3])
- [1, 2, 3]
-@*/
-
-Ox.compact = function(arr) {
- return Ox.map(arr, function(val) {
- return Ox.isUndefined(val) ? null : val;
- });
-};
-
-/*@
- Ox.flatten Flattens an array
- > Ox.flatten([1, [2, [3], 2], 1])
- [1, 2, 3, 2, 1]
-@*/
-Ox.flatten = function(arr) {
- // fixme: can this work for objects too?
- var ret = [];
- arr.forEach(function(val) {
- if (Ox.isArray(val)) {
- Ox.flatten(val).forEach(function(val) {
- ret.push(val);
- });
- } else {
- ret.push(val);
- }
- });
- return ret;
-};
-
-/*@
-Ox.merge Merges an array with one or more other arrays
- > Ox.merge([1], [2, 3, 2], [1])
- [1, 2, 3, 2, 1]
- > Ox.merge(1, [2, 3, 2], 1)
- [1, 2, 3, 2, 1]
-@*/
-Ox.merge = function(arr) {
- arr = Ox.isArray(arr) ? arr : [arr];
- Ox.forEach(Array.prototype.slice.call(arguments, 1), function(arg) {
- Ox.isArray(arg) ? Ox.forEach(arg, function(val) {
- arr.push(val);
- }) : arr.push(arg);
- });
- return arr;
-};
-
-/*@
-Ox.sort Sorts an array, handling leading digits and ignoring capitalization
- arr Array
- fn Optional map function that returns the value for the array element
- > Ox.sort(['10', '9', 'B', 'a'])
- ['9', '10', 'a', 'B']
- > Ox.sort([{id: 0, name: '80 Days'}, {id: 1, name: '8 Women'}], function(v) {return v.name});
- [{id: 1, name: '8 Women'}, {id: 0, name: '80 Days'}]
-@*/
-Ox.sort = function(arr, fn) {
- var len, matches = {}, sort = {},
- values = fn ? arr.map(fn) : arr;
- // find leading numbers
- values.forEach(function(val, i) {
- var match = /^\d+/.exec(val);
- matches[val] = match ? match[0] : '';
- });
- // get length of longest leading number
- len = Ox.max(Ox.map(matches, function(val) {
- return val.length;
- }));
- // pad leading numbers, and make lower case
- values.forEach(function(val) {
- sort[val] = (
- matches[val] ? Ox.pad(
- matches[val], len
- ) + val.toString().substr(matches[val].length) : val
- ).toLowerCase();
- });
- return arr.sort(function(a, b) {
- a = fn ? fn(a) : a;
- b = fn ? fn(b) : b;
- var ret = 0;
- if (sort[a] < sort[b]) {
- ret = -1;
- } else if (sort[a] > sort[b]) {
- ret = 1;
- }
- return ret;
- });
-};
-
-/*@
-Ox.unique Returns an array without duplicate values
- > Ox.unique([1, 2, 3, 2, 1])
- [1, 2, 3]
- > Ox.unique([NaN, NaN])
- []
-@*/
-
-Ox.unique = function(arr) {
- return Ox.map(arr, function(val, i) {
- return arr.indexOf(val) == i ? val : null;
- });
-};
-
-/*@
-Ox.zip Zips an array of arrays
- > Ox.zip([[0, 1], [2, 3], [4, 5]])
- [[0, 2, 4], [1, 3, 5]]
- > Ox.zip([0, 1, 2], [3, 4, 5])
- [[0, 3], [1, 4], [2, 5]]
-@*/
-Ox.zip = function() {
- var args = arguments.length == 1 ? arguments[0] : Ox.makeArray(arguments),
- arr = [];
- args[0].forEach(function(v, i) {
- arr[i] = [];
- args.forEach(function(v) {
- arr[i].push(v[i]);
- });
- });
- return arr;
-};
-
-//@ Collections ----------------------------------------------------------------
-
-/*@
-Ox.avg Returns the average of an array's values, or an object's properties
- (collection) -> Average value
- collection <[n]|o> Array or object with numerical values
- > Ox.avg([-1, 0, 1])
- 0
- > Ox.avg({a: 1, b: 2, c: 3})
- 2
- > Ox.avg('avg is 0.1')
- 0.1
-@*/
-
-Ox.avg = function(obj) {
- return Ox.sum(obj) / Ox.len(obj);
-};
-
-/*@
-Ox.contains Tests if a collection contains a value
- > Ox.contains(['foo', 'bar'], 'foo')
- true
- > Ox.contains({foo: 'bar'}, 'bar')
- true
- > Ox.contains({foo: 'bar'}, 'foo')
- false
- > Ox.contains("foobar", "bar")
- true
-@*/
-Ox.contains = function(col, val) {
- /*
- // fixme: rename to Ox.has or Ox.isIn?
- // then it'd become convenient for arrays
- */
- return (Ox.isObject(col) ? Ox.values(col) : col).indexOf(val) > -1;
-};
-
-/*@
-Ox.copy Returns a (shallow or deep) copy of an object or array
- > (function() { a = ['v']; b = Ox.copy(a); a[0] = null; return b[0]; }())
- 'v'
- > (function() { a = {k: 'v'}; b = Ox.copy(a); a.k = null; return b.k; }())
- 'v'
- > Ox.clone(0)
- 0
-@*/
-
-Ox.copy = Ox.clone = function(col, deep) {
- // fixme: remove references to Ox.clone
- // fixme: is there any use case for shallow copy?
- var ret = Ox.isArray(col) ? [] : {};
- if (deep) {
- Ox.forEach(col, function(val, key) {
- ret[key] = ['array', 'object'].indexOf(Ox.typeOf(val)) > -1
- ? Ox.clone(val, true) : val;
- });
- } else {
- ret = Ox.isArray(col) ? col.slice()
- : Ox.isObject(col) ? Ox.extend({}, col)
- : col;
- }
- return ret;
-};
-
-/*@
-Ox.count Counts the occurences of values in a collection
- > Ox.count(['f', 'o', 'o'])
- {f: 1, o: 2}
- > Ox.count({a: 'f', b: 'o', c: 'o'})
- {f: 1, o: 2}
- > Ox.count('foo')
- {f: 1, o: 2}
-@*/
-Ox.count = function(arr) {
- var obj = {};
- Ox.forEach(arr, function(v) {
- obj[v] = (obj[v] || 0) + 1;
- });
- return obj;
-};
-
-/*@
-Ox.every Tests if every element of a collection satisfies a given condition
- Unlike [].every(), Ox.every() works for arrays,
- objects and strings.
- > Ox.every([0, 1, 2], function(v, i) { return i == v; })
- true
- > Ox.every({a: 1, b: 2, c: 3}, function(v) { return v == 1; })
- false
- > Ox.every("foo", function(v) { return v == 'f'; })
- false
- > Ox.every([true, true, true])
- true
-@*/
-Ox.every = function(col, fn) {
- return Ox.filter(Ox.values(col), fn || function(v) {
- return v;
- }).length == Ox.len(col);
-};
-
-/*@
-Ox.filter Filters a collection by a given condition
- Unlike [].filter(), Ox.filter() works for arrays,
- objects and strings.
- > Ox.filter([2, 1, 0], function(v, i) { return v == i; })
- [1]
- > Ox.keys(Ox.filter({a: 'c', b: 'b', c: 'a'}, function(v, k) { return v == k; }))
- ['b']
- > Ox.filter(' foo bar ', function(v) { return v != ' '; })
- 'foobar'
-@*/
-
-Ox.filter = function(col, fn) {
- var type = Ox.typeOf(col),
- ret = type == 'array' ? [] : type == 'object' ? {} : '';
- Ox.forEach(col, function(v, k) {
- if (fn(v, k)) {
- if (type == 'array') {
- ret.push(v);
- } else if (type == 'object') {
- ret[k] = v;
- } else {
- ret += v;
- }
- }
- });
- return ret;
-};
-
-/*@
-Ox.find Returns array elements that match a string
- Returns an array of two arrays, the first containing leading matches
- (exact match first), the second containing non-leading matches
- > Ox.find(['foo', 'bar', 'foobar', 'barfoo'], 'foo')
- [['foo', 'foobar'], ['barfoo']]
-@*/
-// fixme: wouldn't it make more sense to return just one array?
-Ox.find = function(arr, str) {
- var ret = [[], []];
- str = str.toLowerCase();
- arr.map(function(v) {
- return v.toLowerCase();
- }).forEach(function(v, i) {
- var index = v.indexOf(str);
- index > -1 && ret[index == 0 ? 0 : 1][v == str ? 'unshift' : 'push'](arr[i]);
- });
- return ret;
-};
-
-/*@
-Ox.forEach forEach loop
- Ox.forEach() loops over arrays, objects and strings.
- Returning false from the iterator function acts like a
- break statement (unlike [].forEach(), like
- $.each()). The arguments of the iterator function are
- (value, key) (like [].forEach(), unlike
- $.each()).
- (collection, callback) The collection
- (collection, callback, includePrototype) The collection
- collection An array, object or string
- callback Callback function
- value <*> Value
- key Key
- includePrototype If true, include prototype properties
-
- > Ox.test.string
- "012abcfoo"
-@*/
-Ox.forEach = function(col, fn, includePrototype) {
- var isObject = Ox.isObject(col), key;
- // Safari will not loop through an arguments array
- col = Ox.isArguments(col) ? Ox.makeArray(col) : col;
- for (key in col) {
- key = isObject ? key : parseInt(key);
- // fixme: fn.call(context, obj[key], key, obj) may be more standard...
- if ((
- includePrototype || Object.hasOwnProperty.call(col, key)
- ) && fn(col[key], key) === false) {
- break;
- }
- }
- return col;
-};
-
-/*@
-Ox.getObjectById Returns an array element with a given id
- > Ox.getObjectById([{id: "foo", title: "Foo"}, {id: "bar", title: "Bar"}], "foo")
- {id: "foo", title: "Foo"}
-@*/
-// fixme: should this be getElementById() ?
-Ox.getObjectById = function(arr, id) {
- var ret = null;
- Ox.forEach(arr, function(v) {
- if (v.id == id) {
- ret = v;
- return false;
- }
- });
- return ret;
-};
-
-/*@
-Ox.getPositionById Returns the index of an array element with a given id
- > Ox.getPositionById([{id: "foo", title: "Foo"}, {id: "bar", title: "Bar"}], "foo")
- 0
-@*/
-// fixme: this should be getIndexById()
-Ox.getPositionById = function(arr, id) {
- var ret = -1;
- Ox.forEach(arr, function(v, i) {
- if (v.id == id) {
- ret = i;
- return false;
- }
- });
- return ret;
-};
-
-// fixme: and what about getElementBy() and getIndexBy() ?
-
-/*@
-Ox.getset Generic getter and setter function
- See examples for details.
- # Usage --------------------------------------------------------------------
- Ox.getset(options, args=[]) -> all options
- Ox.getset(options, args=[key]) -> <*> options[key]
- Ox.getset(options, args=[key, value], callback, context) -> context
- sets options[key] to value and calls fn(key, value)
- if the key/value pair was added or modified
- Ox.getset(options, args=[{key: value}], callback, context) -> context
- sets multiple options and calls fn(key, value)
- for every key/value pair that was added or modified
- # Arguments ----------------------------------------------------------------
- options Options object (key/value pairs)
- args The arguments "array" of the caller function
- callback Callback function
- The callback is called for every key/value pair that was added or
- modified.
- key Key
- value <*> Value
- context The parent object of the caller function (for chaining)
- # Examples -----------------------------------------------------------------
-
- > Ox.test.object.options("key", "val").options("key")
- "val"
- > Ox.test.object.options({foo: "foo", bar: "bar"}).options()
- {"key": "val", "foo": "foo", "bar": "bar"}
-@*/
-
-Ox.getset = function(obj, args, callback, context) {
- var obj_ = Ox.clone(obj), ret;
- if (args.length == 0) {
- // []
- ret = obj_;
- } else if (args.length == 1 && !Ox.isObject(args[0])) {
- // [key]
- ret = Ox.clone(obj[args[0]]);
- } else {
- // [key, val] or [{key: val, ...}]
- args = Ox.makeObject(args);
- obj = Ox.extend(obj, args);
- Ox.forEach(args, function(val, key) {
- if (!obj_ || !Ox.isEqual(obj_[key], val)) {
- callback && callback(key, val);
- }
- });
- ret = context;
- }
- return ret;
-}
-
-/*@
-Ox.isEmpty Returns true if a collection is empty
- > Ox.isEmpty([])
- true
- > Ox.isEmpty({})
- true
- > Ox.isEmpty('')
- true
- > Ox.isEmpty(function() {})
- true
- > Ox.isEmpty(function(a) {})
- false
- > Ox.isEmpty(null)
- false
- > Ox.isEmpty()
- false
-@*/
-Ox.isEmpty = function(val) {
- return Ox.len(val) == 0;
-};
-
-/*@
-Ox.keys Returns the keys of a collection
- Unlike Object.keys(), Ox.keys() works for arrays,
- objects and strings.
- > Ox.keys([1, 2, 3])
- [0, 1, 2]
- > Ox.keys([1,,3])
- [0, 2]
- # fixme?
- # > Ox.keys([,])
- # [0]
- > Ox.keys({a: 1, b: 2, c: 3})
- ['a', 'b', 'c']
- > Ox.keys('abc')
- [0, 1, 2]
-@*/
-
-// fixme: is this really needed? arrays... ok... but strings??
-Ox.keys = function(obj) {
- var keys = [];
- Ox.forEach(obj, function(v, k) {
- keys.push(k);
- });
- return keys.sort();
-};
-
-/*@
-Ox.last Gets or sets the last element of an array
- Unlike foobarbaz[foobarbaz.length - 1],
- Ox.last(foobarbaz) is short.
-
- > Ox.last(Ox.test.array)
- 3
- > Ox.last(Ox.test.array, 4)
- [1, 2, 4]
- > Ox.test.array
- [1, 2, 4]
-@*/
-Ox.last = function(arr, val) {
- var ret;
- if (arguments.length == 1) {
- ret = arr[arr.length - 1];
- } else {
- arr[arr.length - 1] = val;
- ret = arr;
- }
- return ret;
-};
-
-/*@
-Ox.len Returns the length of an array, function, object or string
- Not to be confused with Ox.length, which is the
- length property of the Ox function
- (1).
- > Ox.len([1, 2, 3])
- 3
- > Ox.len([,])
- 1
- > Ox.len({a: 1, b: 2, c: 3})
- 3
- > Ox.len(function(a, b, c) {})
- 3
- > Ox.len('abc')
- 3
-@*/
-Ox.len = function(col) {
- var type = Ox.typeOf(col);
- return ['array', 'function', 'string'].indexOf(type) > -1 ? col.length
- : type == 'object' ? Ox.values(col).length : void 0;
-};
-
-/*@
-Ox.loop For-loop, functional-style
- Returning false from the iterator function acts like a
- break statement. Unlike a for loop,
- Ox.loop doesn't leak its counter variable to the outer scope,
- but returns it.
- (stop, callback) -> Next value
- equivalent to for (var i = 0; i < stop; i++)
- (start, stop, callback) -> Next value
- equivalent to for (var i = start; i < stop; i++) or,
- if start is larger than stop,
- for (var i = start; i > stop; i--)
- (start, stop, step, callback) -> Next value
- equivalent to for (var i = start; i < stop; i += step) or,
- if step is negative,
- for (var i = start; i > stop; i += step)
- start Start value
- stop Stop value (exclusive)
- step Step value
- callback Iterator function
- i Counter value
- > Ox.loop(10, function(i) { return i != 4; })
- 4
- > Ox.loop(0, 3, 2, function() {})
- 4
-@*/
-Ox.loop = function() {
- var len = arguments.length,
- start = len > 2 ? arguments[0] : 0,
- stop = arguments[len > 2 ? 1 : 0],
- step = len == 4 ? arguments[2] : (start <= stop ? 1 : -1),
- callback = arguments[len - 1],
- i;
- for (i = start; step > 0 ? i < stop : i > stop; i += step) {
- if (callback(i) === false) {
- break;
- };
- }
- return i;
-};
-
-/*@
-Ox.makeArray Takes an array-like object and returns a true array
- Alias for Array.prototype.slice.call
- (value) -> True array
- value <*> Array-like object
- > (function() { return Ox.makeArray(arguments); }("foo", "bar"))
- ["foo", "bar"]
- > Ox.makeArray("foo")
- ["f", "o", "o"]
- > Ox.makeArray({0: "f", 1: "o", 2: "o", length: 3})
- ["f", "o", "o"]
-@*/
-
-Ox.makeArray = /MSIE/.test(navigator.userAgent)
- ? function(col) {
- var i, len, ret = [];
- try {
- ret = Array.prototype.slice.call(col);
- } catch(e) {
- // handle MSIE NodeLists
- len = col.length;
- for (i = 0; i < len; i++) {
- ret[i] = col[i];
- }
- }
- return ret;
- }
- : function(col) {
- return Array.prototype.slice.call(col);
- };
-
-/*@
-Ox.makeObject Takes an array and returns an object
- Ox.makeObject is a helper for functions with two alternative
- signatures like ('key', 'val') and ({key: 'val'}).
- > (function() { return Ox.makeObject(arguments); }({foo: 1, bar: 2}))
- {foo: 1, bar: 2}
- > (function() { return Ox.makeObject(arguments); }('foo', 1))
- {foo: 1}
- > (function() { return Ox.makeObject(arguments); }('foo'))
- {foo: void 0}
- > (function() { return Ox.makeObject(arguments); }())
- {}
-@*/
-Ox.makeObject = function(obj) {
- var ret = {};
- if (Ox.isObject(obj[0])) {
- // ({foo: 'bar'})
- ret = obj[0];
- } else if (obj.length) {
- // ('foo', 'bar')
- ret[obj[0]] = obj[1]
- }
- return ret;
-};
-
-/*@
-Ox.map Transforms the values of an array, object or string
- Unlike [].map(), Ox.map() works for arrays,
- objects and strings. Returning null from the iterator
- function will remove the element from the collection.
- > Ox.map([0, 0, 0], function(v, i) { return v == i; })
- [true, false, false]
- > Ox.map({a: 'a', b: 'a', c: 'a'}, function(v, k) { return v == k; })
- {a: true, b: false, c: false}
- > Ox.map("000", function(v, i) { return v == i; })
- [true, false, false]
- > Ox.map([0, 1, 2, 4], function(v, i) { return v ? i == v : null; })
- [true, true, false]
- # fixme?
- # > Ox.map([,], function(v, i) { return i; })
- # [0]
-@*/
-
-Ox.map = function(obj, fn) {
- // fixme: return null to filter out may be a bit esoteric
- var isObject = Ox.isObject(obj),
- ret = isObject ? {} : [];
- Ox.forEach(obj, function(val, key) {
- var map;
- if ((map = fn(val, key)) !== null) {
- ret[isObject ? key : ret.length] = map;
- }
- });
- return ret;
-};
-
-/*@
-Ox.max Returns the maximum value of a collection
- > Ox.max([1, 2, 3])
- 3
- > Ox.max({a: 1, b: 2, c: 3})
- 3
- > Ox.max('123')
- 3
-@*/
-Ox.max = function(col) {
- return Math.max.apply(Math, Ox.values(col));
-};
-
-/*@
-Ox.min Returns the minimum value of a collection
- > Ox.min([1, 2, 3])
- 1
- > Ox.min({a: 1, b: 2, c: 3})
- 1
- > Ox.min('123')
- 1
-@*/
-Ox.min = function(col) {
- return Math.min.apply(Math, Ox.values(col));
-};
-
-/*@
-Ox.range Python-style range
- (stop) -> <[n]> range
- Returns an array of integers from 0 (inclusive) to
- stop (exclusive).
- (start, stop) -> <[n]> range
- Returns an array of integers from start (inclusive) to
- stop (exclusive).
- (start, stop, step) -> <[n]> range
- Returns an array of numbers from start (inclusive) to
- stop (exclusive), incrementing by step.
- start Start value
- stop Stop value
- step Step value
- > Ox.range(3)
- [0, 1, 2]
- > Ox.range(1, 4)
- [1, 2, 3]
- > Ox.range(3, 0)
- [3, 2, 1]
- > Ox.range(1, 2, 0.5)
- [1, 1.5]
- > Ox.range(-1, -2, -0.5)
- [-1, -1.5]
-@*/
-Ox.range = function() {
- var args = Ox.makeArray(arguments),
- arr = [];
- args.push(function(i) {
- arr.push(i);
- });
- Ox.loop.apply(null, args);
- return arr;
-};
-
-/*@
-Ox.setPropertyOnce Sets a property once
- Given a array of objects, each of which has a property with a boolean
- value, this sets exactly one of these to true, and returns the index
- of the object whose property is true.
- > Ox.setPropertyOnce([{selected: false}, {selected: false}], 'selected')
- 0
- > Ox.setPropertyOnce([{selected: false}, {selected: true}], 'selected')
- 1
- > Ox.setPropertyOnce([{selected: true}, {selected: true}], 'selected')
- 0
-@*/
-// fixme: strange name, and shouldn't it return the full array?
-Ox.setPropertyOnce = function(arr, str) {
- var pos = -1;
- Ox.forEach(arr, function(v, i) {
- if (pos == -1 && arr[i][str]) {
- pos = i;
- } else if (pos > -1 && arr[i][str]) {
- delete arr[i][str];
- }
- });
- if (pos == -1) {
- arr[0][str] = true;
- pos = 0;
- }
- return pos;
-};
-
-/*@
-Ox.shuffle Randomizes the order of values within a collection
- > Ox.shuffle([1, 2, 3]).length
- 3
- > Ox.len(Ox.shuffle({a: 1, b: 2, c: 3}))
- 3
- > Ox.shuffle('123').length
- 3
-@*/
-
-Ox.shuffle = function(col) {
- var keys, ret, type = Ox.typeOf(col), values;
- function sort() {
- return Math.random() - 0.5;
- }
- if (type == 'array') {
- ret = col.sort(sort);
- } else if (type == 'object') {
- keys = Object.keys(col);
- values = Ox.values(col).sort(sort);
- ret = {};
- keys.forEach(function(key, i) {
- ret[key] = values[i]
- });
- } else if (type == 'string') {
- ret = col.split('').sort(sort).join('');
- }
- return ret;
-};
-
-/*@
-Ox.some Tests if one or more elements of a collection satisfy a given condition
- Unlike [].some(), Ox.some() works for arrays,
- objects and strings.
- > Ox.some([2, 1, 0], function(i, v) { return i == v; })
- true
- > Ox.some({a: 1, b: 2, c: 3}, function(v) { return v == 1; })
- true
- > Ox.some("foo", function(v) { return v == 'f'; })
- true
-@*/
-Ox.some = function(obj, fn) {
- return Ox.filter(Ox.values(obj), fn).length > 0;
-};
-
-/*@
-Ox.sub Returns a substring or sub-array
- Ox.sub behaves like collection[start:stop] in Python
- (or, for strings, like str.substring() with negative values for stop)
- > Ox.sub([1, 2, 3], 1, -1)
- [2]
- > Ox.sub('foobar', 1)
- "oobar"
- > Ox.sub('foobar', -1)
- "r"
- > Ox.sub('foobar', 1, 5)
- "ooba"
- > Ox.sub('foobar', 1, -1)
- "ooba"
- > Ox.sub('foobar', -5, 5)
- "ooba"
- > Ox.sub('foobar', -5, -1)
- "ooba"
-@*/
-Ox.sub = function(col, start, stop) {
- stop = Ox.isUndefined(stop) ? col.length : stop;
- start = start < 0 ? col.length + start : start;
- stop = stop < 0 ? col.length + stop : stop;
- return Ox.isArray(col) ? Ox.filter(col, function(val, key) {
- return key >= start && key < stop;
- }) : col.substring(start, stop);
-}
-
-/*@
-Ox.sum Returns the sum of the values of a collection
- > Ox.sum(1, 2, 3)
- 6
- > Ox.sum([1, 2, 3])
- 6
- > Ox.sum({a: 1, b: 2, c: 3})
- 6
- > Ox.sum('123')
- 6
- > Ox.sum('123foo')
- 6
- > Ox.sum('08', -2, 'foo')
- 6
-@*/
-Ox.sum = function(col) {
- var sum = 0;
- col = arguments.length > 1 ? Ox.makeArray(arguments) : col;
- Ox.forEach(col, function(val) {
- val = +val;
- sum += Ox.isNumber(val) ? val : 0;
- });
- return sum;
-};
-
-Ox.toArray = function(obj) {
- // fixme: can this be thrown out?
- /*
- >>> Ox.toArray('foo')
- ['foo']
- >>> Ox.toArray(['foo'])
- ['foo']
- */
- var arr;
- if (Ox.isArray(obj)) {
- arr = obj;
- } else if (Ox.isArguments(obj)) {
- arr = Ox.makeArray(obj);
- } else {
- arr = [obj];
- }
- return arr;
-};
-
-/*@
-Ox.values Returns the values of a collection
- > Ox.values([1, 2, 3])
- [1, 2, 3]
- > Ox.values({a: 1, b: 2, c: 3})
- [1, 2, 3]
- > Ox.values('abc')
- ['a', 'b', 'c']
- > Ox.values([1,,3])
- [1, 3]
-@*/
-Ox.values = function(col) {
- // Ox.values(str) is identical to str.split('')
- var values = [];
- Ox.forEach(col, function(val) {
- values.push(val);
- });
- return values;
-};
-
-/*@
-Ox.walk Recursively walk a tree-like key/value store
-
- > Ox.test.number
- 6
-@*/
-Ox.walk = function(obj, fn) {
- Ox.forEach(obj, function(val, key) {
- fn(val, key, obj);
- Ox.walk(obj[key], fn);
- });
-};
-
-//@ Color ----------------------------------------------------------------------
-
-/*@
-Ox.hsl Takes RGB values and returns HSL values
- (rgb) <[n]> HSL values
- (r, g, b) <[n]> HSL values
- rgb <[n]> RGB values
- r red
- g green
- b blue
- > Ox.hsl([0, 0, 0])
- [0, 0, 0]
- > Ox.hsl([255, 255, 255])
- [0, 0, 1]
- > Ox.hsl(0, 255, 0)
- [120, 1, 0.5]
-@*/
-Ox.hsl = function(rgb) {
- if (arguments.length == 3) {
- rgb = Ox.makeArray(arguments);
- }
- rgb = rgb.map(function(val) {
- return val / 255;
- });
- var max = Ox.max(rgb),
- min = Ox.min(rgb),
- hsl = [0, 0, 0];
- hsl[2] = 0.5 * (max + min);
- if (max == min) {
- hsl[0] = 0;
- hsl[1] = 0;
- } else {
- if (max == rgb[0]) {
- hsl[0] = (60 * (rgb[1] - rgb[2]) / (max - min) + 360) % 360;
- } else if (max == rgb[1]) {
- hsl[0] = 60 * (rgb[2] - rgb[0]) / (max - min) + 120;
- } else if (max == rgb[2]) {
- hsl[0] = 60 * (rgb[0] - rgb[1]) / (max - min) + 240;
- }
- if (hsl[2] <= 0.5) {
- hsl[1] = (max - min) / (2 * hsl[2]);
- } else {
- hsl[1] = (max - min) / (2 - 2 * hsl[2]);
- }
- }
- return hsl;
-};
-
-/*@
-Ox.rgb Takes HSL values and returns RGB values
- (hsl) <[n]> RGB values
- (h, s, l) <[n]> RGB values
- hsl <[n]> HSL values
- h hue
- s saturation
- l lightness
- > Ox.rgb([0, 0, 0])
- [0, 0, 0]
- > Ox.rgb([0, 0, 1])
- [255, 255, 255]
- > Ox.rgb(120, 1, 0.5)
- [0, 255, 0]
-@*/
-
-Ox.rgb = function(hsl) {
- if (arguments.length == 3) {
- hsl = Ox.makeArray(arguments);
- }
- hsl[0] /= 360;
- var rgb = [0, 0, 0],
- v1, v2, v3;
- if (hsl[1] == 0) {
- rgb = [hsl[2], hsl[2], hsl[2]];
- } else {
- if (hsl[2] < 0.5) {
- v2 = hsl[2] * (1 + hsl[1]);
- } else {
- v2 = hsl[1] + hsl[2] - (hsl[1] * hsl[2]);
- }
- v1 = 2 * hsl[2] - v2;
- rgb.forEach(function(v, i) {
- v3 = hsl[0] + (1 - i) * 1/3;
- if (v3 < 0) {
- v3++;
- } else if (v3 > 1) {
- v3--;
- }
- if (v3 < 1/6) {
- rgb[i] = v1 + ((v2 - v1) * 6 * v3);
- } else if (v3 < 0.5) {
- rgb[i] = v2;
- } else if (v3 < 2/3) {
- rgb[i] = v1 + ((v2 - v1) * 6 * (2/3 - v3));
- } else {
- rgb[i] = v1;
- }
- });
- }
- return rgb.map(function(v) {
- return v * 255;
- });
-};
-
-//@ Constants ------------------------------------------------------------------
-
-//@ Ox.AMPM <[str]> ['AM', 'PM']
-Ox.AMPM = ['AM', 'PM'];
-//@ Ox.BASE_32_ALIASES Base 32 aliases
-Ox.BASE_32_ALIASES = {'I': '1', 'L': '1', 'O': '0', 'U': 'V'},
-//@ Ox.BASE_32_DIGITS Base 32 digits
-Ox.BASE_32_DIGITS = '0123456789ABCDEFGHJKMNPQRSTVWXYZ';
-//@ Ox.BCAD <[str]> ['BC', 'AD']
-Ox.BCAD = ['BC', 'AD'];
-// fixme: this is unused, and probably unneeded
-//@ Ox.DURATIONS <[str]> ['year', 'month', 'day', 'hour', 'minute', 'second']
-Ox.DURATIONS = ['year', 'month', 'day', 'hour', 'minute', 'second'];
-//@ Ox.EARTH_RADIUS Radius of the earth in meters
-// see http://en.wikipedia.org/wiki/WGS-84
-Ox.EARTH_RADIUS = 6378137;
-//@ Ox.EARTH_CIRCUMFERENCE Circumference of the earth in meters
-Ox.EARTH_CIRCUMFERENCE = Ox.EARTH_RADIUS * 2 * Math.PI;
-//@ Ox.HTML_ENTITIES