minor fixes and documentation updates
|
@ -6,6 +6,8 @@
|
||||||
Ox.ListCalendar <f> ListCalendar object
|
Ox.ListCalendar <f> ListCalendar object
|
||||||
@*/
|
@*/
|
||||||
|
|
||||||
|
// FIXME: should be Ox.CalendarEditor
|
||||||
|
|
||||||
Ox.ListCalendar = function(options, self) {
|
Ox.ListCalendar = function(options, self) {
|
||||||
|
|
||||||
self = self || {};
|
self = self || {};
|
||||||
|
|
|
@ -5,6 +5,7 @@ Ox.ExamplePanel = function(options, self) {
|
||||||
self = self || {};
|
self = self || {};
|
||||||
var that = Ox.Element({}, self)
|
var that = Ox.Element({}, self)
|
||||||
.defaults({
|
.defaults({
|
||||||
|
element: '',
|
||||||
examples: [],
|
examples: [],
|
||||||
keywords: null,
|
keywords: null,
|
||||||
path: '',
|
path: '',
|
||||||
|
@ -16,7 +17,7 @@ Ox.ExamplePanel = function(options, self) {
|
||||||
.options(options || {})
|
.options(options || {})
|
||||||
|
|
||||||
self.$list = Ox.Element();
|
self.$list = Ox.Element();
|
||||||
self.$page = Ox.Element();
|
self.$page = Ox.Element().append(self.options.element);
|
||||||
|
|
||||||
that.setElement(
|
that.setElement(
|
||||||
self.$panel = Ox.SplitPanel({
|
self.$panel = Ox.SplitPanel({
|
||||||
|
|
|
@ -17,6 +17,8 @@ Ox.ListMap <f:Ox.Element> ListMap object
|
||||||
self <o> Shared private variable
|
self <o> Shared private variable
|
||||||
@*/
|
@*/
|
||||||
|
|
||||||
|
// FIXME: Should be Ox.MapEditor
|
||||||
|
|
||||||
Ox.ListMap = function(options, self) {
|
Ox.ListMap = function(options, self) {
|
||||||
|
|
||||||
self = self || {};
|
self = self || {};
|
||||||
|
|
|
@ -228,7 +228,7 @@ Document
|
||||||
//background: rgb(255, 255, 255);
|
//background: rgb(255, 255, 255);
|
||||||
}
|
}
|
||||||
.OxThemeClassic .OxDocument div {
|
.OxThemeClassic .OxDocument div {
|
||||||
border-color: rgb(192, 192, 192);
|
border-color: rgb(208, 208, 208);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Before Width: | Height: | Size: 140 B After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 505 B After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 152 B |
Before Width: | Height: | Size: 139 B After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 443 B After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 146 B |
|
@ -123,10 +123,13 @@ Ox.load = function() {
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
Ox.localStorage <o> localStorage wrapper
|
Ox.localStorage <o> localStorage wrapper
|
||||||
() -> <o> key:value pairs
|
(namespace) -> <f> localStorage object for a given namespace
|
||||||
(key) -> <*> value
|
FIXME: there is a bug in Ox.doc here,
|
||||||
(key, val) -> <f> localStorage object
|
will use "(namespace)" as function name
|
||||||
({key, val}) -> <f> localStorage object
|
() -> <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) {
|
Ox.localStorage = function(namespace) {
|
||||||
if (!window.localStorage) {
|
if (!window.localStorage) {
|
||||||
|
@ -161,6 +164,7 @@ Ox.localStorage = function(namespace) {
|
||||||
keys.forEach(function(key) {
|
keys.forEach(function(key) {
|
||||||
delete localStorage[namespace + '.' + key];
|
delete localStorage[namespace + '.' + key];
|
||||||
});
|
});
|
||||||
|
return storage;
|
||||||
};
|
};
|
||||||
return storage;
|
return storage;
|
||||||
};
|
};
|
||||||
|
|