minor fixes and documentation updates
|
@ -6,6 +6,8 @@
|
|||
Ox.ListCalendar <f> ListCalendar object
|
||||
@*/
|
||||
|
||||
// FIXME: should be Ox.CalendarEditor
|
||||
|
||||
Ox.ListCalendar = function(options, self) {
|
||||
|
||||
self = self || {};
|
||||
|
|
|
@ -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({
|
||||
|
|
|
@ -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 || {};
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
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
|
||||
() -> <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;
|
||||
};
|
||||
|
|