mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
docs + cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
018f4aafd0
commit
6db23078e7
@ -641,7 +641,6 @@ var URLHistoryUIActions = actions.Actions({
|
||||
|
||||
// XXX need to sort pins...
|
||||
// XXX need to save pins...
|
||||
// XXX 'to top' button???
|
||||
listURLHistory2: ['History|File/Location history (new)...',
|
||||
widgets.makeUIDialog(function(){
|
||||
var that = this
|
||||
@ -738,7 +737,7 @@ var URLHistoryUIActions = actions.Actions({
|
||||
// open...
|
||||
['<span class="show-on-hover">↗</span>',
|
||||
function(p){ dialog.browsePath(p) }],
|
||||
// XXX should the normal items have a "to top" button???
|
||||
// XXX should the pins have a "to top" button???
|
||||
['♦', 'TO_TOP'],
|
||||
'PIN',
|
||||
'REMOVE',
|
||||
|
||||
@ -961,20 +961,23 @@ function(list, options){
|
||||
//
|
||||
// Format:
|
||||
// {
|
||||
// // equivalent to .length_limit option in .List(..) but applies
|
||||
// // Equivalent to .length_limit option in .List(..) but applies
|
||||
// // only to pins...
|
||||
// pins_length_limit: .. ,
|
||||
//
|
||||
// // equivalent to .sortable option in .List(..) but applies only
|
||||
// // Equivalent to .sortable option in .List(..) but applies only
|
||||
// // to pins...
|
||||
// pins_sortable: .. ,
|
||||
//
|
||||
// // Equivalent to .buttons option in .List(..) but applies only
|
||||
// // to pins...
|
||||
// // If this is not given the same buttons are used for both lists.
|
||||
// pins_buttons: .. ,
|
||||
//
|
||||
// ...
|
||||
// }
|
||||
//
|
||||
// XXX should id be the first argument??
|
||||
// XXX should this be a single list or two lists???
|
||||
// ...with a single list it's simpler to play with items w/o full updates...
|
||||
Items.EditablePinnedList =
|
||||
function(list, pins, options){
|
||||
var that = this
|
||||
@ -1046,7 +1049,7 @@ function(list, pins, options){
|
||||
|
||||
isItemHidden: null,
|
||||
|
||||
buttons: options.buttons.slice(),
|
||||
buttons: (options.pins_buttons || options.buttons).slice(),
|
||||
}
|
||||
pins_options.__proto__ = options
|
||||
var sortable = pins_options.sortable =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user