mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-12-21 18:51:39 +00:00
experimenting with dir listing approaches...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e16e41c7e1
commit
543edd493c
@ -86,8 +86,8 @@ var WidgetPrototype = {
|
|||||||
|
|
||||||
|
|
||||||
// XXX this will not:
|
// XXX this will not:
|
||||||
// - attach dom to parent...
|
// - attach dom to parent... (???)
|
||||||
// - handle focus...
|
// - handle focus... (???)
|
||||||
// XXX same as ContainerPrototype.__init__ but skips client...
|
// XXX same as ContainerPrototype.__init__ but skips client...
|
||||||
__init__: function(parent, options){
|
__init__: function(parent, options){
|
||||||
var that = this
|
var that = this
|
||||||
@ -105,6 +105,13 @@ var WidgetPrototype = {
|
|||||||
this.dom = this.constructor.make(options)
|
this.dom = this.constructor.make(options)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// XXX do we do this here???
|
||||||
|
/*
|
||||||
|
if(parent && this.dom){
|
||||||
|
parent.append(this.dom)
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// add keyboard handler...
|
// add keyboard handler...
|
||||||
if(this.keyboard && this.dom){
|
if(this.keyboard && this.dom){
|
||||||
this.dom.keydown(
|
this.dom.keydown(
|
||||||
|
|||||||
@ -2302,13 +2302,13 @@ var ActionTreeActions = actions.Actions({
|
|||||||
})],
|
})],
|
||||||
|
|
||||||
// XXX this is just a test...
|
// XXX this is just a test...
|
||||||
embededListerTest: ['Interface/Lister test (embeded)/*',
|
embededListerTest: ['Interface|Test/Lister test (embeded)/*',
|
||||||
function(path, make){
|
function(path, make){
|
||||||
make('a/')
|
make('a/')
|
||||||
make('b/')
|
make('b/')
|
||||||
make('c/')
|
make('c/')
|
||||||
}],
|
}],
|
||||||
floatingListerTest: ['Interface/Lister test (floating)...',
|
floatingListerTest: ['Interface|Test/Lister test (floating)...',
|
||||||
function(path){
|
function(path){
|
||||||
var parent = this.preventClosing ? this.preventClosing() : null
|
var parent = this.preventClosing ? this.preventClosing() : null
|
||||||
|
|
||||||
@ -2350,7 +2350,7 @@ var ActionTreeActions = actions.Actions({
|
|||||||
})
|
})
|
||||||
}],
|
}],
|
||||||
// XXX make this nw only...
|
// XXX make this nw only...
|
||||||
pathListerTest: ['Interface/Path lister test (floating)...',
|
pathListerTest: ['Interface|Test/Path lister test (floating)...',
|
||||||
function(path){
|
function(path){
|
||||||
var parent = this.preventClosing ? this.preventClosing() : null
|
var parent = this.preventClosing ? this.preventClosing() : null
|
||||||
|
|
||||||
@ -2380,7 +2380,7 @@ var ActionTreeActions = actions.Actions({
|
|||||||
&& parent.focus()
|
&& parent.focus()
|
||||||
})
|
})
|
||||||
}],
|
}],
|
||||||
drawerTest:['Interface/Drawer widget test',
|
drawerTest:['Interface|Test/Drawer widget test',
|
||||||
function(){
|
function(){
|
||||||
drawer.Drawer($('body'),
|
drawer.Drawer($('body'),
|
||||||
$('<div>')
|
$('<div>')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user