diff --git a/source/Ox.Geo/Ox.Geo.js b/source/Ox.Geo/Ox.Geo.js index a1153ab4..1ab02148 100644 --- a/source/Ox.Geo/Ox.Geo.js +++ b/source/Ox.Geo/Ox.Geo.js @@ -45,7 +45,7 @@ Ox.load.Geo = function(options, callback) { languages <[s]> Array of languages spoken in this country To be precise: languages that are spoken in this country more than in any other, i.e. each language only appears once. This - can be useful if you need flag icons for languages. + can be used to map languages to flag icons. lat Latitude of the center of the country's bounding box lng Longitude of the center of the country's bounding box name Name of the country diff --git a/source/Ox.Image/Ox.Image.js b/source/Ox.Image/Ox.Image.js index c3a7fce7..3404ef14 100644 --- a/source/Ox.Image/Ox.Image.js +++ b/source/Ox.Image/Ox.Image.js @@ -15,6 +15,8 @@ Ox.load.Image = function(options, callback) { width Width in px image Height in px background <[n]> Background color (RGB or RGBA) + > Ox.Image(Ox.UI.PATH + 'themes/classic/png/icon16.png', function(i) { i.encode('foo', function(i) { i.decode(function(s) { Ox.test(s, 'foo') })})}) + undefined @*/ Ox.Image = function() { @@ -328,11 +330,11 @@ Ox.load.Image = function(options, callback) { deflate If true, encode the string with deflate mode Encoding mode If mode is between -7 and 0, the string will be encoded one bit - per byte, as the number of bits within that byte set to 1, + per RGB byte, as the number of bits within that byte set to 1, modulo 2, by flipping, if necessary, the most (mode -7) to least (mode 0) significant bit. If mode is between 1 and 255, the - string will be encoded bitwise into all bits per byte that, in - mode, are set to 1. + string will be encoded bitwise into all bits per RGB byte that, + in mode, are set to 1. @*/ that.encode = function(str) { var callback = arguments[arguments.length - 1],