diff --git a/source/Ox.Geo/Ox.Geo.js b/source/Ox.Geo/Ox.Geo.js index 54433479..4d0e2127 100644 --- a/source/Ox.Geo/Ox.Geo.js +++ b/source/Ox.Geo/Ox.Geo.js @@ -6,10 +6,15 @@ Ox.load.Geo = function(options, callback) { /*@ Ox.COUNTRIES <[o]> Array of countries - See http://en.wikipedia.org/wiki/List_of_sovereign_states, - http://en.wikipedia.org/wiki/ISO_3166-3 and http://www.imdb.com/country/ + A list of independent (or de-facto independent) countries and + dependencies (see + Wikipedia), + other entities with + ISO 3166-1 alpha-2 + country codes, and former countries according to ISO 3166-3 + and IMDb. area Area of the country in square meters - code ISO 3166 country code + code ISO 3166-1 alpha-2 country code dependencies <[s]> Array of dependencies of the country (country codes) dependency <[s]> Array of countries the country is a dependency of (country codes) east Longitude of eastern boundary in deg diff --git a/source/Ox.UI/js/Core/Ox.Container.js b/source/Ox.UI/js/Core/Ox.Container.js index 1deeb62d..02ea6ef4 100644 --- a/source/Ox.UI/js/Core/Ox.Container.js +++ b/source/Ox.UI/js/Core/Ox.Container.js @@ -9,9 +9,12 @@ Ox.Container = function(options, self) { var that = new Ox.Element({}, self) .options(options || {}) .addClass('OxContainer'); - that.$content = new Ox.Element({}, self) + that.$content = new Ox.Element({}) .options(options || {}) .addClass('OxContent') - .appendTo(that); + /*.appendTo(that)*/; + that.append(that.$content); + // FIXME: that.append(that.$content) works, but + // that.$content.appendTo(that) is broken in Safari return that; }; diff --git a/source/Ox.UI/js/Core/Ox.DocPage.js b/source/Ox.UI/js/Core/Ox.DocPage.js index 6167fea0..d2d84dee 100644 --- a/source/Ox.UI/js/Core/Ox.DocPage.js +++ b/source/Ox.UI/js/Core/Ox.DocPage.js @@ -30,7 +30,7 @@ Ox.DocPage = function(options, self) { .html( '' + (name || item.name) + ' ' + '<' + item.types.join('> or <') + '> ' + - (item.default ? 'default: ' + item.default + ' ' : '') + + (item['default'] ? 'default: ' + item['default'] + ' ' : '') + Ox.parseHTML(item.summary) ) ]; diff --git a/source/Ox.UI/js/Core/Ox.Element.js b/source/Ox.UI/js/Core/Ox.Element.js index 70917532..79acc1e2 100644 --- a/source/Ox.UI/js/Core/Ox.Element.js +++ b/source/Ox.UI/js/Core/Ox.Element.js @@ -291,12 +291,12 @@ Ox.Element = function() { options Gets or sets the options of an element object # Usage () -> all options - (key) -> the value of option[key] + (key) -> the value of option[key] (key, value) -> this element - sets options[key] to value and calls self.setOption(key, value) + Sets options[key] to value and calls self.setOption(key, value) if the key/value pair was added or modified ({key: value, ...}) -> this element - sets multiple options and calls self.setOption(key, value) + Sets multiple options and calls self.setOption(key, value) for every key/value pair that was added or modified # Arguments key the name of the option