minor fixes and documentation updates

This commit is contained in:
rolux 2012-04-09 10:42:00 +02:00
parent baf0f72912
commit ebc6efffb4
11 changed files with 15 additions and 6 deletions

View file

@ -6,6 +6,8 @@
Ox.ListCalendar <f> ListCalendar object
@*/
// FIXME: should be Ox.CalendarEditor
Ox.ListCalendar = function(options, self) {
self = self || {};

View file

@ -5,6 +5,7 @@ Ox.ExamplePanel = function(options, self) {
self = self || {};
var that = Ox.Element({}, self)
.defaults({
element: '',
examples: [],
keywords: null,
path: '',
@ -16,7 +17,7 @@ Ox.ExamplePanel = function(options, self) {
.options(options || {})
self.$list = Ox.Element();
self.$page = Ox.Element();
self.$page = Ox.Element().append(self.options.element);
that.setElement(
self.$panel = Ox.SplitPanel({

View file

@ -17,6 +17,8 @@ Ox.ListMap <f:Ox.Element> ListMap object
self <o> Shared private variable
@*/
// FIXME: Should be Ox.MapEditor
Ox.ListMap = function(options, self) {
self = self || {};

View file

@ -228,7 +228,7 @@ Document
//background: rgb(255, 255, 255);
}
.OxThemeClassic .OxDocument div {
border-color: rgb(192, 192, 192);
border-color: rgb(208, 208, 208);
}
/*

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 B

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 505 B

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 443 B

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 B

View file

@ -123,10 +123,13 @@ Ox.load = function() {
/*@
Ox.localStorage <o> localStorage wrapper
() -> <o> key:value pairs
(key) -> <*> value
(key, val) -> <f> localStorage object
({key, val}) -> <f> localStorage object
(namespace) -> <f> localStorage object for a given namespace
FIXME: there is a bug in Ox.doc here,
will use "(namespace)" as function name
() -> <o> returns all key:value pairs
(key) -> <*> returns one value
(key, val) -> <f> sets one value, returns localStorage object
({key: val, ...}) -> <f> sets values, returns localStorage object
@*/
Ox.localStorage = function(namespace) {
if (!window.localStorage) {
@ -161,6 +164,7 @@ Ox.localStorage = function(namespace) {
keys.forEach(function(key) {
delete localStorage[namespace + '.' + key];
});
return storage;
};
return storage;
};