From 7bd83e7b9f945cdf9da6477a0d9eb0da4e0b06e0 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 21 Jun 2012 08:16:34 +0200 Subject: [PATCH] rename some examples --- .../{lenna => image_manipulation}/css/example.css | 0 examples/{lenna => image_manipulation}/index.html | 2 +- .../{lenna => image_manipulation}/js/example.js | 0 .../{lenna => image_manipulation}/png/lenna256.png | Bin .../{cities => list_of_cities}/css/example.css | 0 examples/{cities => list_of_cities}/index.html | 2 +- examples/{cities => list_of_cities}/js/example.js | 13 ------------- .../{cities => list_of_cities}/json/cities.json | 0 .../css/example.css | 0 .../{countries => list_of_countries}/index.html | 2 +- .../{countries => list_of_countries}/js/example.js | 0 11 files changed, 3 insertions(+), 16 deletions(-) rename examples/{lenna => image_manipulation}/css/example.css (100%) rename examples/{lenna => image_manipulation}/index.html (92%) rename examples/{lenna => image_manipulation}/js/example.js (100%) rename examples/{lenna => image_manipulation}/png/lenna256.png (100%) rename examples/{cities => list_of_cities}/css/example.css (100%) rename examples/{cities => list_of_cities}/index.html (92%) rename examples/{cities => list_of_cities}/js/example.js (98%) rename examples/{cities => list_of_cities}/json/cities.json (100%) rename examples/{countries => list_of_countries}/css/example.css (100%) rename examples/{countries => list_of_countries}/index.html (92%) rename examples/{countries => list_of_countries}/js/example.js (100%) diff --git a/examples/lenna/css/example.css b/examples/image_manipulation/css/example.css similarity index 100% rename from examples/lenna/css/example.css rename to examples/image_manipulation/css/example.css diff --git a/examples/lenna/index.html b/examples/image_manipulation/index.html similarity index 92% rename from examples/lenna/index.html rename to examples/image_manipulation/index.html index 8b789a96..1bbc1c11 100644 --- a/examples/lenna/index.html +++ b/examples/image_manipulation/index.html @@ -1,7 +1,7 @@ - Lenna + Image Manipulation diff --git a/examples/lenna/js/example.js b/examples/image_manipulation/js/example.js similarity index 100% rename from examples/lenna/js/example.js rename to examples/image_manipulation/js/example.js diff --git a/examples/lenna/png/lenna256.png b/examples/image_manipulation/png/lenna256.png similarity index 100% rename from examples/lenna/png/lenna256.png rename to examples/image_manipulation/png/lenna256.png diff --git a/examples/cities/css/example.css b/examples/list_of_cities/css/example.css similarity index 100% rename from examples/cities/css/example.css rename to examples/list_of_cities/css/example.css diff --git a/examples/cities/index.html b/examples/list_of_cities/index.html similarity index 92% rename from examples/cities/index.html rename to examples/list_of_cities/index.html index e4f6fb5c..f5336335 100644 --- a/examples/cities/index.html +++ b/examples/list_of_cities/index.html @@ -1,7 +1,7 @@ - Cities + List of Cities diff --git a/examples/cities/js/example.js b/examples/list_of_cities/js/example.js similarity index 98% rename from examples/cities/js/example.js rename to examples/list_of_cities/js/example.js index 1e53e254..e4fdb2dc 100644 --- a/examples/cities/js/example.js +++ b/examples/list_of_cities/js/example.js @@ -88,20 +88,7 @@ Ox.load({UI: {showScreen: true}, Geo: {}}, function() { south: data.latitude - latSize / 2, west: data.longitude - lngSize / 2 }; - /**/ }); - /* - Ox.print( - JSON.stringify( - cities.sort(function(a, b) { - return a.country + ', ' + a.name < b.country + ', ' + b.name ? -1 - : a.country + ', ' + a.name > b.country + ', ' + b.name ? 1 : 0 - }).map(function(city) { - return city.name + ', ' + city.country - }) - ) - ); - */ var $preview = Ox.Button({ disabled: true, diff --git a/examples/cities/json/cities.json b/examples/list_of_cities/json/cities.json similarity index 100% rename from examples/cities/json/cities.json rename to examples/list_of_cities/json/cities.json diff --git a/examples/countries/css/example.css b/examples/list_of_countries/css/example.css similarity index 100% rename from examples/countries/css/example.css rename to examples/list_of_countries/css/example.css diff --git a/examples/countries/index.html b/examples/list_of_countries/index.html similarity index 92% rename from examples/countries/index.html rename to examples/list_of_countries/index.html index bc87b115..4c9323e2 100644 --- a/examples/countries/index.html +++ b/examples/list_of_countries/index.html @@ -1,7 +1,7 @@ - Countries + List of Countries diff --git a/examples/countries/js/example.js b/examples/list_of_countries/js/example.js similarity index 100% rename from examples/countries/js/example.js rename to examples/list_of_countries/js/example.js